Skip to content

Commit

Permalink
IM-98 Fix syntax for conditional deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
iperdomo committed Jan 29, 2024
1 parent a59e802 commit 88e7f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ pipeline {

stage('Maven deploy') {
when {
branch {
anyOf { branch 'develop'; branch 'master' }
}
anyOf { branch 'develop'; branch 'master' }
}
steps {
configFileProvider([configFile(fileId: '1f5f24a2-9839-4194-b2ad-0613279f9fba', variable: 'MAVEN_SETTINGS_XML')]) {
Expand Down
4 changes: 1 addition & 3 deletions Jenkinsfile.withParams
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ pipeline {

stage('Maven deploy') {
when {
branch {
anyOf { branch 'develop'; branch 'master' }
}
anyOf { branch 'develop'; branch 'master' }
}
steps {
configFileProvider([configFile(fileId: '1f5f24a2-9839-4194-b2ad-0613279f9fba', variable: 'MAVEN_SETTINGS_XML')]) {
Expand Down

0 comments on commit 88e7f28

Please sign in to comment.