File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pipeline {
4040 container ('maven') {
4141 withCredentials([string(credentialsId: "$SONAR_CREDENTIAL_ID", variable: 'SONAR_TOKEN')]) {
4242 withSonarQubeEnv('sonar') {
43- sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar. login=$SONAR_TOKEN"
43+ sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.login=$SONAR_TOKEN"
4444 }
4545 }
4646 timeout(time: 1, unit: 'HOURS') {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pipeline {
4040 container ('maven') {
4141 withCredentials([string(credentialsId: "$SONAR_CREDENTIAL_ID", variable: 'SONAR_TOKEN')]) {
4242 withSonarQubeEnv('sonar') {
43- sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar. login=$SONAR_TOKEN"
43+ sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.login=$SONAR_TOKEN"
4444 }
4545 }
4646 timeout(time: 1, unit: 'HOURS') {
You can’t perform that action at this time.
0 commit comments