Franck Arnulfo
2015-01-21 17:31:53 UTC
Hello,
We are using SonarQube 4.5.1 and encountered an issue this morning on some
project using the property sonar.java.binaries.
We updated the version of the java plugin yesterday to 2.8 (we were using
2.5.1 before).
The error in the analysis is :
[ERROR] [20:43:58.997] Invalid value for sonar.java.binaries
[ERROR] No files nor directories matching
'/PATH_TO_JENKINS_WORKSPACES/sonar/PROJECT_NAME/release/PROJECT_JAR.jar'
In the pom.xml, sonar.java.binaries property is valued with :
${basedir}/release/${project.artifactId}.jar
Variables changes is good on analysis and jar exists in the repository.
Here is my investigation :
- When getting back to version 2.5.1, sonar analysis is OK
- When using version 2.8, if sonar.java.binaries points straightly to a
jar file, analysis is KO
- When using version 2.8, if sonar.java.binaries points to a directory (in
my case, ${basedir}/release/), the analysis is OK
Is the behavior of sonar.java.binaries, implemented in 2.8, wanted ? or
this a regression ?
Thanks,
We are using SonarQube 4.5.1 and encountered an issue this morning on some
project using the property sonar.java.binaries.
We updated the version of the java plugin yesterday to 2.8 (we were using
2.5.1 before).
The error in the analysis is :
[ERROR] [20:43:58.997] Invalid value for sonar.java.binaries
[ERROR] No files nor directories matching
'/PATH_TO_JENKINS_WORKSPACES/sonar/PROJECT_NAME/release/PROJECT_JAR.jar'
In the pom.xml, sonar.java.binaries property is valued with :
${basedir}/release/${project.artifactId}.jar
Variables changes is good on analysis and jar exists in the repository.
Here is my investigation :
- When getting back to version 2.5.1, sonar analysis is OK
- When using version 2.8, if sonar.java.binaries points straightly to a
jar file, analysis is KO
- When using version 2.8, if sonar.java.binaries points to a directory (in
my case, ${basedir}/release/), the analysis is OK
Is the behavior of sonar.java.binaries, implemented in 2.8, wanted ? or
this a regression ?
Thanks,
--
Sent from Gmail Mobile
Sent from Gmail Mobile