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 {
stage('Refresh properties') {
steps {
if (Refresh) {
currentBuild.result = 'ABORTED'
error('Stopping early…')
script {
if (Refresh) {
currentBuild.result = 'ABORTED'
error('Stopping early…')
}
}
}
}
}
stage('TF Plan') {
steps {