Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 5ee56f2

Browse files
authored
Update Jenkinsfile-online
1 parent 0df7528 commit 5ee56f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile-online

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pipeline {
3030
stage ('unit test') {
3131
steps {
3232
container ('maven') {
33-
sh 'mvn clean -o -gs `pwd`/configuration/settings.xml test'
33+
sh 'mvn clean -gs `pwd`/configuration/settings.xml test'
3434
}
3535
}
3636
}
@@ -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 -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN"
4444
}
4545
}
4646
timeout(time: 1, unit: 'HOURS') {

0 commit comments

Comments
 (0)