Skip to content

Commit 549ef52

Browse files
author
Adam Soos
committed
WS-3330: CI fix jenkins file for PRs
1 parent 35db5a4 commit 549ef52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CI.Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ node ("docker-light") {
1111
stage("Build And Test") {
1212

1313
withSonarQubeEnv {
14-
mySonarOpts="-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL} -D"
14+
mySonarOpts="-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL}"
1515
if("${env.CHANGE_ID}" != "null"){
16-
mySonarOpts = "$mySonarOpts -Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.branch=${env.BRANCH_NAME}"
16+
mySonarOpts = "$mySonarOpts -Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.branch=${env.BRANCH_NAME}"
1717
} else {
1818
mySonarOpts = "$mySonarOpts -Dsonar.branch.name=${env.BRANCH_NAME}"
1919
}

0 commit comments

Comments
 (0)