Skip to content

Commit 5b07129

Browse files
committed
update cmd sonar
1 parent 7c3fd2d commit 5b07129

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Jenkinsfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pipeline {
3939
container ('maven') {
4040
withCredentials([string(credentialsId: 'sonar-token', variable: 'SONAR_TOKEN')]) {
4141
withSonarQubeEnv('sonar') {
42-
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.sources=. -Dsonar.login=$SONAR_TOKEN"
42+
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN"
4343
}
4444
}
4545
timeout(time: 1, unit: 'HOURS') {

‎Jenkinsfile-online‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pipeline {
3939
container ('maven') {
4040
withCredentials([string(credentialsId: 'sonar-token', variable: 'SONAR_TOKEN')]) {
4141
withSonarQubeEnv('sonar') {
42-
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.sources=. -Dsonar.login=$SONAR_TOKEN"
42+
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN"
4343
}
4444
}
4545
timeout(time: 1, unit: 'HOURS') {

0 commit comments

Comments
 (0)