Started by user [EnvInject] - Loading node environment variables. Building in workspace > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url git@bitbucket.org:test/types.git # timeout=10 Pruning obsolete local branches Fetching upstream changes from git@bitbucket.org:test/types.git > git.exe --version # timeout=10 using GIT_SSH to set credentials Bitbucket - test > git.exe fetch --tags --progress git@bitbucket.org:test/types.git +refs/heads/*:refs/remotes/origin/* --prune > git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10 Checking out Revision 986225c07cd4e276c8e1cb41e5550c9e45a39380 (refs/remotes/origin/master) > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f 986225c07cd4e276c8e1cb41e5550c9e45a39380 > git.exe branch -a -v --no-abbrev # timeout=10 > git.exe branch -D master # timeout=10 > git.exe checkout -b master 986225c07cd4e276c8e1cb41e5550c9e45a39380 > git.exe rev-list 986225c07cd4e276c8e1cb41e5550c9e45a39380 # timeout=10 Injecting SonarQube environment variables using the configuration: SonarQube Sending build status INPROGRESS for commit 986225c07cd4e276c8e1cb41e5550c9e45a39380 to BitBucket is done! No emails were triggered. Parsing POMs using global settings config with name Maven Settings Replacing all maven server entries not found in credentials list is true Established TCP socket on 53943 [types-master] $ c:\dev\jdk/bin/java -Xmx768m -Djavax.net.ssl.trustStore=C:\dev\jenkins/secrets/jdk_cacerts_plus_test_root.jks -Djava.awt.headless=true -cp C:\dev\jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-agent-1.8.1.jar;c:\dev\maven\boot\plexus-classworlds-2.5.2.jar;c:\dev\maven/conf/logging jenkins.maven3.agent.Maven33Main c:\dev\maven C:\dev\jenkins\war\WEB-INF\lib\remoting-3.4.jar C:\dev\jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-interceptor-1.8.1.jar C:\dev\jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.8.1.jar 53943 <===[JENKINS REMOTING CAPACITY]===>channel started using global settings config with name Maven Settings Replacing all maven server entries not found in credentials list is true Executing Maven: -B -f C:\dev\jenkins\workspace\types-master\pom.xml -gs C:\Users\test\AppData\Local\Temp\global-settings1571584166520038904.xml -U clean jacoco:prepare-agent site deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building types 1.0.55-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ types --- [INFO] Deleting C:\dev\jenkins\workspace\types-master\target [INFO] [INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (default-cli) @ types --- [INFO] argLine set to -javaagent:C:\\Users\\test\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.6.201602180812\\org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=C:\\dev\\jenkins\\workspace\\types-master\\target\\jacoco.exec [INFO] [INFO] --- maven-site-plugin:3.5:site (default-site) @ types --- [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.9 [WARNING] Unable to find a URL to the parent project. The parent menu will NOT be added. [WARNING] No project URL defined - decoration links will not be relativized! [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.1 skin. [INFO] Generating "CI Management" report --- maven-project-info-reports-plugin:2.9:cim [INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.9:dependencies [INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.9:dependency-info [INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.9:distribution-management [INFO] Generating "About" report --- maven-project-info-reports-plugin:2.9:index [INFO] Generating "Issue Management" report --- maven-project-info-reports-plugin:2.9:issue-tracking [INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.9:plugin-management [INFO] Generating "Plugins" report --- maven-project-info-reports-plugin:2.9:plugins [INFO] Generating "Source Code Management" report --- maven-project-info-reports-plugin:2.9:scm [INFO] Generating "Summary" report --- maven-project-info-reports-plugin:2.9:summary [JENKINS] Archiving site from C:\dev\jenkins\workspace\types-master\target\site to C:\dev\jenkins\jobs\types-master\site [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ types --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ types --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-repositories) @ types --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-plugin-versions) @ types --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-upper-bound-deps) @ types --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ types --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\dev\jenkins\workspace\types-master\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ types --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 169 source files to C:\dev\jenkins\workspace\types-master\target\classes [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ types --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\dev\jenkins\workspace\types-master\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ types --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to C:\dev\jenkins\workspace\types-master\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ types --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.test.common.types.ComparisonTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec - in com.test.common.types.ComparisonTest Running com.test.general.core.types.ViolationSourceTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.test.general.core.types.ViolationSourceTest Results : Tests run: 21, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ types --- [INFO] Building jar: C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT.jar [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.0:jar-no-fork (attach-sources-no-fork) @ types --- [INFO] Building jar: C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-source-plugin:3.0.0:test-jar-no-fork (attach-test-sources) @ types --- [INFO] Building jar: C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-test-sources.jar [INFO] [INFO] --- maven-jar-plugin:2.6:test-jar (create-test-jar) @ types --- [INFO] Building jar: C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-tests.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.474 s [INFO] Finished at: 2017-01-26T09:23:03-06:00 [INFO] Final Memory: 47M/304M [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\pom.xml to com.test/types/1.0.55-SNAPSHOT/types-1.0.55-SNAPSHOT.pom [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT.jar to com.test/types/1.0.55-20170126.152258-3/types-1.0.55-20170126.152258-3.jar [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-javadoc.jar to com.test/types/1.0.55-20170126.152258-3/types-1.0.55-20170126.152258-3-javadoc.jar [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-sources.jar to com.test/types/1.0.55-20170126.152258-3/types-1.0.55-20170126.152258-3-sources.jar [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-test-sources.jar to com.test/types/1.0.55-20170126.152258-3/types-1.0.55-20170126.152258-3-test-sources.jar [JENKINS] Archiving C:\dev\jenkins\workspace\types-master\target\types-1.0.55-SNAPSHOT-tests.jar to com.test/types/1.0.55-20170126.152258-3/types-1.0.55-20170126.152258-3-tests.jar channel stopped using global settings config with name Maven Settings Replacing all maven server entries not found in credentials list is true [types-master] $ cmd.exe /C "c:\dev\maven\bin\mvn.cmd -gs C:\Users\test\AppData\Local\Temp\global-settings7032048984454800109.xml sonar:sonar -Dsonar.login=****** -Dsonar.host.url=https://sonar.test.com -Dsonar.branch=origin/master && exit %%ERRORLEVEL%%" [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building types 1.0.55-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:3.0.1:sonar (default-cli) @ types --- [INFO] User cache: C:\Users\test\.sonar\cache [INFO] Load global repositories [INFO] Load global repositories (done) | time=250ms [INFO] User cache: C:\Users\test\.sonar\cache [INFO] Load plugins index [INFO] Load plugins index (done) | time=15ms [INFO] SonarQube version: 5.4 [INFO] Default locale: "en_US", source code encoding: "UTF-8" [ERROR] No license for plugin report [INFO] Process project properties [INFO] Load project repositories [INFO] Load project repositories (done) | time=187ms [INFO] Apply project exclusions [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=63ms [INFO] Load active rules [INFO] Load active rules (done) | time=624ms [INFO] Publish mode [INFO] ------------- Scan types origin/master [INFO] Load server rules [INFO] Load server rules (done) | time=297ms [INFO] Base dir: C:\dev\jenkins\workspace\types-master [INFO] Working dir: C:\dev\jenkins\workspace\types-master\target\sonar [INFO] Source paths: pom.xml, src/main/java [INFO] Test paths: src/test/java [INFO] Binary dirs: target/classes [INFO] Source encoding: UTF-8, default locale: en_US [INFO] Index files [INFO] 172 files indexed [INFO] Quality profile for java: PGC Java Default [INFO] Quality profile for xml: PGC XML Default [INFO] JaCoCoItSensor: JaCoCo IT report not found: C:\dev\jenkins\workspace\types-master\target\jacoco-it.exec [INFO] JIRA issues sensor will not run as some parameters are missing. [INFO] Sensor JavaSquidSensor [INFO] Configured Java source version (sonar.java.source): 8 [INFO] JavaClasspath initialization... [INFO] JavaClasspath initialization done: 47 ms [INFO] JavaTestClasspath initialization... [INFO] JavaTestClasspath initialization done: 94 ms [INFO] Java Main Files AST scan... [INFO] 169 source files to be analyzed [INFO] Java Main Files AST scan done: 8669 ms [INFO] 169/169 source files have been analyzed [INFO] Java bytecode scan... [INFO] Java bytecode scan done: 889 ms [INFO] Java Test Files AST scan... [INFO] 2 source files to be analyzed [INFO] Java Test Files AST scan done: 141 ms [INFO] Package design analysis... [INFO] Package design analysis done: 31 ms [INFO] Sensor JavaSquidSensor (done) | time=10432ms [INFO] Sensor Lines Sensor [INFO] Sensor Lines Sensor (done) | time=16ms [INFO] Sensor QProfileSensor [INFO] Sensor QProfileSensor (done) | time=15ms [INFO] Sensor PmdSensor [INFO] Execute PMD 5.4.2... [INFO] 2/2 source files have been analyzed [INFO] Java version: 1.8 [INFO] PMD configuration: C:\dev\jenkins\workspace\types-master\target\sonar\pmd.xml [INFO] PMD configuration: C:\dev\jenkins\workspace\types-master\target\sonar\pmd-unit-tests.xml [INFO] Execute PMD 5.4.2 done: 5117 ms [INFO] Sensor PmdSensor (done) | time=5242ms [INFO] Sensor Sonar-Sonargraph-Plugin [3.5] [INFO] ---------------------------------------------------------------- [INFO] Sensor Sonar-Sonargraph-Plugin [3.5] (done) | time=0ms [INFO] Sensor org.sonar.plugins.findbugs.FindbugsSensor [INFO] Execute Findbugs 3.0.1... 09:23:32.161 [main] INFO o.s.p.findbugs.FindbugsExecutor - Found findbugs plugin: C:\dev\jenkins\workspace\types-master\target\sonar\findbugs\fb-contrib.jar 09:23:32.223 [main] INFO o.s.p.findbugs.FindbugsExecutor - Found findbugs plugin: C:\dev\jenkins\workspace\types-master\target\sonar\findbugs\findsecbugs-plugin.jar 09:23:32.254 [main] INFO o.s.p.findbugs.FindbugsExecutor - Findbugs output report: C:\dev\jenkins\workspace\types-master\target\sonar\findbugs-result.xml Jan 26, 2017 9:23:35 AM com.h3xstream.findsecbugs.injection.custom.CustomInjectionSource getInjectionSourceProperties INFO: The optional configuration for additional injection sources (com/h3xstream/findsecbugs/injection/custom/CustomInjectionSource.properties) was not found. This message can be ignored if no custom API are intended to be configured. For more info: http://h3xstream.github.io/find-sec-bugs/bugs.htm#CUSTOM_INJECTION [INFO] Execute Findbugs 3.0.1 done: 13525 ms [INFO] Sensor org.sonar.plugins.findbugs.FindbugsSensor (done) | time=13618ms [INFO] Sensor SurefireSensor [INFO] parsing C:\dev\jenkins\workspace\types-master\target\surefire-reports [INFO] Sensor SurefireSensor (done) | time=188ms [INFO] Sensor JaCoCoSensor [INFO] Analysing C:\dev\jenkins\workspace\types-master\target\jacoco.exec [INFO] No information about coverage per test. [INFO] Sensor JaCoCoSensor (done) | time=811ms [INFO] Sensor JaCoCoItSensor [INFO] Project coverage is set to 0% as no JaCoCo execution data has been dumped: C:\dev\jenkins\workspace\types-master\target\jacoco-it.exec [INFO] Sensor JaCoCoItSensor (done) | time=187ms [INFO] Sensor JaCoCoOverallSensor [INFO] Analysing C:\dev\jenkins\workspace\types-master\target\jacoco.exec [INFO] Analysing C:\dev\jenkins\workspace\types-master\target\sonar\jacoco-overall.exec [INFO] No information about coverage per test. [INFO] Sensor JaCoCoOverallSensor (done) | time=109ms [INFO] Sensor XmlFileSensor [INFO] 1 source files to be analyzed [INFO] Sensor XmlFileSensor (done) | time=1061ms [INFO] Sensor XmlSensor [INFO] 1/1 source files have been analyzed [INFO] Sensor XmlSensor (done) | time=234ms [INFO] Sensor CheckstyleSensor [INFO] Execute Checkstyle 6.12.1... [INFO] Checkstyle configuration: C:\dev\jenkins\workspace\types-master\target\sonar\checkstyle.xml [INFO] Checkstyle charset: UTF-8 [INFO] Execute Checkstyle 6.12.1 done: 3682 ms [INFO] Sensor CheckstyleSensor (done) | time=3682ms [INFO] Sensor SCM Sensor [INFO] Sensor SCM Sensor (done) | time=0ms [INFO] Sensor Code Colorizer Sensor [INFO] Sensor Code Colorizer Sensor (done) | time=31ms [INFO] Sensor CPD Sensor [INFO] JavaCpdIndexer is used for java [INFO] DefaultCpdIndexer is used for xml [INFO] Sensor CPD Sensor (done) | time=171ms [INFO] Analysis report generated in 1076ms, dir size=1 MB [INFO] Analysis reports compressed in 1326ms, zip size=629 KB [INFO] Analysis report uploaded in 250ms [INFO] ANALYSIS SUCCESSFUL, you can browse https://sonar.test.com/dashboard/index/com.test:types:origin%2Fmaster [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at https://sonar.test.com/api/ce/task?id=AVnbYDoUuS8NOhB95DSg [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 48.246 s [INFO] Finished at: 2017-01-26T09:23:53-06:00 [INFO] Final Memory: 39M/393M [INFO] ------------------------------------------------------------------------ Archiving artifacts [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/target/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files for pattern **/target/**.exec: 1 [JaCoCo plugin] Saving matched execfiles: C:\dev\jenkins\workspace\types-master\target\jacoco.exec [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes: C:\dev\jenkins\workspace\types-master\target\classes [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java: C:\dev\jenkins\workspace\types-master\src\main\java [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [**/*.class] [JaCoCo plugin] exclusions: [**/*Test*] [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=0, maxMethod=0, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0] [JaCoCo plugin] Publishing the results.. [JaCoCo plugin] Loading packages.. [JaCoCo plugin] Done. [JaCoCo plugin] Overall coverage: class: 6, method: 3, line: 3, branch: 4, instruction: 2 [INFO] HipChat notification sent to the following rooms: 1825858 Sending build status SUCCESSFUL for commit 986225c07cd4e276c8e1cb41e5550c9e45a39380 to BitBucket is done! Email was triggered for: Success Sending email for trigger: Success Calculating changesets There are 0 changesets