-
Bug
-
Resolution: Unresolved
-
Major
-
Windows Server 2008
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
[JENKINS-24044] SonarQube's sonar.ProjectBaseDir Set to the first module on the list
Description |
Original:
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 ... $WORKSPACE in this case is set to C:\Jenkins\Jobs\Project\Workspace. Instead, workspace is being set to C:\Jenkins\Jobs\Project\Workspace\module1. Not having the working directory set correctly is a big issue for my downstream steps. |
New:
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 ... $WORKSPACE in this case Should Be set to C:\Jenkins\Jobs\Project\Workspace. Instead, workspace is being set to C:\Jenkins\Jobs\Project\Workspace\module1. Not having the working directory set correctly is a big issue for my downstream steps. |
Priority | Original: Critical [ 2 ] | New: Minor [ 4 ] |
Attachment | New: config.xml [ 26460 ] | |
Description |
Original:
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 ... $WORKSPACE in this case Should Be set to C:\Jenkins\Jobs\Project\Workspace. Instead, workspace is being set to C:\Jenkins\Jobs\Project\Workspace\module1. Not having the working directory set correctly is a big issue for my downstream steps. |
New:
VERSION: Jenkins 1.573 Subversion Plugin 2.4.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 ... $WORKSPACE in this case Should Be set to C:\Jenkins\Jobs\Project\Workspace. Instead, workspace is being set to C:\Jenkins\Jobs\Project\Workspace\module1. Not having the working directory set correctly is a big issue for my downstream steps. |
Component/s | New: sonar [ 15523 ] | |
Description |
Original:
VERSION: Jenkins 1.573 Subversion Plugin 2.4.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 ... $WORKSPACE in this case Should Be set to C:\Jenkins\Jobs\Project\Workspace. Instead, workspace is being set to C:\Jenkins\Jobs\Project\Workspace\module1. Not having the working directory set correctly is a big issue for my downstream steps. |
New:
VERSION: Jenkins 1.573 Subversion Plugin 2.4.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 |
Description |
Original:
VERSION: Jenkins 1.573 Subversion Plugin 2.4.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 |
New:
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 |
Labels | Original: modules scm subversion | New: modules scm sonar subversion |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Summary | Original: WORKSPACE Environment Variable Set to the first module on the list | New: SonarQube's sonar.ProjectBaseDir Set to the first module on the list |
Component/s | Original: subversion [ 15485 ] | |
Affects Version/s | Original: current [ 10162 ] | |
Labels | Original: modules scm sonar subversion | New: sonar |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Workflow | Original: JNJira [ 156915 ] | New: JNJira + In-Review [ 179440 ] |
Labels | Original: sonar | New: sonar sonarqube |