![]() |
|
|
|
|
Change By:
|
Shawn Cole
(30/Jul/14 5:01 PM)
|
|
Summary:
|
WORKSPACE Environment Variable
SonarQube's sonar.ProjectBaseDir
Set to the first module on the list
|
|
Labels:
|
modules scm
sonar
subversion
|
|
Priority:
|
Minor
Major
|
|
Description:
|
VERSION: Jenkins 1.573 Subversion Plugin 2.4.1
Sonar Plugin 2.1
When using multiple SVN Url's in one project, with each set to the following:
Repository URL: http://svnserver/repo/Project/module1/trunk/src Local Module Directory: module1
Repository URL: http://svnserver/repo/Project/module2/trunk/src Local Module Directory: module2
...
My sonar.ProjectBaseDir is being set improperly, causing builds to fail. Where the property in this case should be set to C:\Jenkins\Jobs\Project\Workspace , it is instead being set to C:\Jenkins\Jobs\Project\Workspace\module1
When trying to set the property manually with sonar.ProjectBaseDir=$WORKSPACE it comes out as -Dsonar.projectBaseDir=D:JenkinsjobsProjectNameworkspace (No slashes)
Any attempts to backreference sonar properties to the workspace parent folder have proven unsuccessful
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.