Skip to content

Commit

Permalink
correctly add -X
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzle committed Dec 21, 2021
1 parent cc7bc60 commit f30efd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JenkinsfileRelease
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
}
stage('Verify Release') {
steps {
sh 'mvn -B -Prelease "-Ddocker.publish.usr=\${DOCKER_REGISTRY_USR}" "-Ddocker.publish.psw=\${DOCKER_REGISTRY_PSW}" -Dspring-boot.build-image.publish=true clean spring-boot:build-image'
sh 'mvn -B -X -Prelease "-Ddocker.publish.usr=\${DOCKER_REGISTRY_USR}" "-Ddocker.publish.psw=\${DOCKER_REGISTRY_PSW}" -Dspring-boot.build-image.publish=true clean spring-boot:build-image'
}
}
stage('Update readme') {
Expand All @@ -58,7 +58,7 @@ pipeline {
stage('Create GitHub release') {
steps {
sh 'git checkout main'
sh "mvn -B github-release:github-release -Dgithub.release-token=${GITHUB_RELEASE_TOKEN} -X"
sh "mvn -B github-release:github-release -Dgithub.release-token=${GITHUB_RELEASE_TOKEN}"
}
}
stage('Deploy to production') {
Expand Down

0 comments on commit f30efd3

Please sign in to comment.