Skip to content

Commit ea83677

Browse files
authored
Merge pull request kubesphere#45 from shaowenchen/sonarqube
fix: remove unsupported parameters
2 parents b5fa900 + 11d9d5e commit ea83677

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jenkinsfile-on-prem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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') {

Jenkinsfile-online

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)