I am using SonarQube Runner 2.4 at jenkins since today but the analysis fail with the message:
If I add the property "MyProject.sonar.sources=src" In the project properties in Jenkins (I use "Invoke Standalone Sonar Analysis"). I will receive the error message
ERROR: Caused by: Findbugs needs sources to be compiled. Please build project before executing sonar and check the location of compiled classes.
This means the sonar-project.properties (/.jenkins/workspace/Deploy/MyProject/sonar-project.properties) is not read or used because there are all values defined:
sonar.language=java sonar.projectName=MyProject sonar.projectVersion=0.1 sonar.binaries=bin sonar.projectDescription= sonar.projectKey=MyProjectKey sonar.sources=src
When sonar is executed I can see the correct path to MyProject where : -DMyProject.sonar.projectBaseDir=/.jenkins/workspace/Deploy/MyProject
Or does the name of sonar-project.properties changed?