Skip to content

Commit

Permalink
Converted Strings to Boolean (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwilli authored Jun 11, 2020
1 parent d5959a2 commit d041083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basic-nginx/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pipeline {
stage('Promotion gate (Stage)') {
steps {
script {
if(!("${SKIP_MANUAL_PROMOTION}")) {
if(!("${SKIP_MANUAL_PROMOTION}").toBoolean()) {
input message: 'Promote Application to Stage?'
}
}
Expand All @@ -86,7 +86,7 @@ pipeline {
stage('Promotion gate (Prod)') {
steps {
script {
if(!("${SKIP_MANUAL_PROMOTION}")) {
if(!("${SKIP_MANUAL_PROMOTION}").toBoolean()) {
input message: 'Promote Application to Prod?'
}
}
Expand Down

0 comments on commit d041083

Please sign in to comment.