Console Output
+ mvn sonar:sonar -Dsonar.projectKey=Tools -Dsonar.host.url=http://localhost:9000/sonar -Dsonar.login=4c490ceb446f662e2bd8cb60644acefdfac7cdf1 -f pom.xml
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< org.codefilarete:tools >-----------------------
[INFO] Building Tools 1.1.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:3.9.1.2184:sonar (default-cli) @ tools ---
[INFO] User cache: /var/lib/jenkins/.sonar/cache
[INFO] SonarQube version: 8.9.2
[INFO] Default locale: "fr_FR", source code encoding: "UTF-8" (analysis is platform dependent)
[WARNING] SonarScanner will require Java 11 to run, starting in SonarQube 9.x
[INFO] Load global settings
[INFO] Load global settings (done) | time=85ms
[INFO] Server id: 243B8A4D-AZGiYgRcK1wF7EG5NV1-
[INFO] User cache: /var/lib/jenkins/.sonar/cache
[INFO] Load/download plugins
[INFO] Load plugins index
[INFO] Load plugins index (done) | time=41ms
[INFO] Load/download plugins (done) | time=59ms
[INFO] Process project properties
[INFO] Process project properties (done) | time=8ms
[INFO] Execute project builders
[INFO] Execute project builders (done) | time=1ms
[INFO] Project key: Tools
[INFO] Base dir: /jenkins/work/agent-local/workspace/Tools pipeline
[INFO] Working dir: /jenkins/work/agent-local/workspace/Tools pipeline/target/sonar
[INFO] Load project settings for component key: 'Tools'
[INFO] Load project settings for component key: 'Tools' (done) | time=13ms
[INFO] Auto-configuring with CI 'Jenkins'
[INFO] Load quality profiles
[INFO] Load quality profiles (done) | time=41ms
[INFO] Auto-configuring with CI 'Jenkins'
[INFO] Load active rules
[INFO] Load active rules (done) | time=591ms
[INFO] Indexing files...
[INFO] Project configuration:
[INFO] 145 files indexed
[INFO] 0 files ignored because of scm ignore settings
[INFO] Quality profile for java: Sonar way
[INFO] Quality profile for xml: Sonar way
[INFO] ------------- Run sensors on module Tools
[INFO] Load metrics repository
[INFO] Load metrics repository (done) | time=13ms
[INFO] Sensor JavaSquidSensor [java]
[INFO] Configured Java source version (sonar.java.source): 8
[INFO] JavaClasspath initialization
[INFO] JavaClasspath initialization (done) | time=12ms
[INFO] JavaTestClasspath initialization
[INFO] JavaTestClasspath initialization (done) | time=1ms
[INFO] Java Main Files AST scan
[INFO] 88 source files to be analyzed
[INFO] Load project repositories
[INFO] Load project repositories (done) | time=15ms
[INFO] 88/88 source files have been analyzed
[WARNING] Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
[INFO] Java Main Files AST scan (done) | time=5700ms
[INFO] Java Test Files AST scan
[INFO] 56 source files to be analyzed
[INFO] 56/56 source files have been analyzed
[INFO] Java Test Files AST scan (done) | time=3397ms
[INFO] Java Generated Files AST scan
[INFO] 0 source files to be analyzed
[INFO] 0/0 source files have been analyzed
[INFO] Java Generated Files AST scan (done) | time=0ms
[INFO] Sensor JavaSquidSensor [java] (done) | time=9448ms
[INFO] Sensor CSS Rules [cssfamily]
[INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[INFO] Sensor CSS Rules [cssfamily] (done) | time=1ms
[INFO] Sensor JaCoCo XML Report Importer [jacoco]
[INFO] 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
[INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=88ms
[INFO] Sensor C# Project Type Information [csharp]
[INFO] Sensor C# Project Type Information [csharp] (done) | time=1ms
[INFO] Sensor C# Properties [csharp]
[INFO] Sensor C# Properties [csharp] (done) | time=1ms
[INFO] Sensor SurefireSensor [java]
[INFO] parsing [/jenkins/work/agent-local/workspace/Tools pipeline/target/surefire-reports]
[INFO] Sensor SurefireSensor [java] (done) | time=82ms
[INFO] Sensor JavaXmlSensor [java]
[INFO] 1 source file to be analyzed
[INFO] 1/1 source file has been analyzed
[INFO] Sensor JavaXmlSensor [java] (done) | time=123ms
[INFO] Sensor HTML [web]
[INFO] Sensor HTML [web] (done) | time=3ms
[INFO] Sensor XML Sensor [xml]
[INFO] 1 source file to be analyzed
[INFO] 1/1 source file has been analyzed
[INFO] Sensor XML Sensor [xml] (done) | time=103ms
[INFO] Sensor VB.NET Project Type Information [vbnet]
[INFO] Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
[INFO] Sensor VB.NET Properties [vbnet]
[INFO] Sensor VB.NET Properties [vbnet] (done) | time=1ms
[INFO] ------------- Run sensors on project
[INFO] Sensor Zero Coverage Sensor
[INFO] Sensor Zero Coverage Sensor (done) | time=1ms
[INFO] Sensor Java CPD Block Indexer
[INFO] Sensor Java CPD Block Indexer (done) | time=91ms
[INFO] SCM Publisher SCM provider for this project is: git
[INFO] SCM Publisher 1 source file to be analyzed
[INFO] SCM Publisher 1/1 source file have been analyzed (done) | time=231ms
[INFO] CPD Executor 28 files had no CPD blocks
[INFO] CPD Executor Calculating CPD for 60 files
[INFO] CPD Executor CPD calculation finished (done) | time=17ms
[INFO] Analysis report generated in 75ms, dir size=1 MB
[INFO] Analysis report compressed in 180ms, zip size=480 KB
[INFO] Analysis report uploaded in 68ms
[INFO] ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/sonar/dashboard?id=Tools
[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 http://localhost:9000/sonar/api/ce/task?id=AZHd0_SOJDTiFHYmsGKZ
[INFO] Analysis total time: 12.478 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.555 s
[INFO] Finished at: 2024-09-10T21:25:41Z
[INFO] ------------------------------------------------------------------------