Having issues with the Sonar plugin for Jenkins. So we are working on changing the way we create our builds. We used to just use a Powershell build step to do all the checking out of our code from SVN. Now I am using the SVN plugin. All that works great. However, in our old jobs the .sonarqube
folder that gets created would be in the base of the workspace. And that worked. With the new way it is getting created deep into the folder structure, and then producing the error:
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required
information about your projects.
Possible causes:
- The project has not been built - the project must be built in between the begin and end steps
- An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 upwards are supported
- The begin, build or end steps have not all been launched from the same folder
If anyone has any ideas to help I would appreciate it. I have verified it is not issues #1 or #2 so I am assuming it is #3, but cannot figure out why it is doing what it is doing. Thanks!