I highlighted three projects, two of which are updated, as expected, every time Jenkins is deployed to the dev environment. However, although the third task is completed with initial results, each subsequent run does not update the project, despite the successful completion of SonarRunner. (I cleared some names and paths).
Here is the failed project file: # required metadata sonar.projectKey = XXXXXXX sonar.projectName = XXXXXXX sonar.projectVersion = 1,0
# path to source directories (required) sonar.sources=src
Here is the console output from Jenkins:
SonarQube Runner 2.4 Java 1.7.0_71 Oracle Corporation (64-bit) Linux 2.6.32-504.3.3.el6.x86_64 amd64 INFO: Error stacktraces are turned on. INFO: Runner configuration file: xxxxxxxx/sonar-runner.properties INFO: Project configuration file: NONE INFO: Default locale: "en_US", source code encoding: "UTF-8" INFO: Work directory: xxxxxxx/workspace/.sonar INFO: SonarQube Server 5.1 12:29:29.558 INFO - Load global repositories 12:29:29.784 INFO - Load global repositories (done) | time=228ms 12:29:29.786 INFO - Server id: 20150522113240 12:29:29.788 INFO - User cache: /var/lib/jenkins/.sonar/cache 12:29:29.797 INFO - Install plugins 12:29:30.091 INFO - Install JDBC driver 12:29:30.112 INFO - Create JDBC datasource for jdbc:mysql://xxxxxxx/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance 12:29:31.619 INFO - Initializing Hibernate 12:29:33.037 INFO - Load project repositories 12:29:34.129 INFO - Load project repositories (done) | time=1092ms 12:29:34.130 INFO - Load project settings 12:29:34.834 INFO - Load technical debt model 12:29:34.863 INFO - Apply project exclusions 12:29:36.001 INFO -
source share