active choice

main
ermisw 2023-10-04 12:19:54 +02:00
parent a60cdab6a1
commit 90ac1b642f
1 changed files with 6 additions and 4 deletions

10
Jenkinsfile vendored
View File

@ -27,11 +27,13 @@ pipeline {
stages { stages {
stage('Refresh properties') { stage('Refresh properties') {
steps { steps {
if (Refresh) { script {
currentBuild.result = 'ABORTED' if (Refresh) {
error('Stopping early…') currentBuild.result = 'ABORTED'
error('Stopping early…')
}
} }
} }
} }
stage('TF Plan') { stage('TF Plan') {
steps { steps {