This repository was archived by the owner on Nov 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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') {
You can’t perform that action at this time.
0 commit comments