Closed bravous closed 7 years ago
When i change the 'sonar runner' build step config and add the additional parameter:
-Dproject.home=%teamcity.build.checkoutDir%
The property file is picked up correctly. Think this should be standard behavior and added by the runner itself.
I've added a field for editing working directory. However it was always set by default to checkout directory so I'll check whether SonarQube Runner respects the working directory as project home path
In the project there is a
sonar-project.properties
at the project root level. When i run a local sonar-runner this property file is picked up. However when I run the runner from TeamCity the file is not ignored, the log reads:Expected is that the property file is picked up and the properties are used, unless they are overwritten.