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

2
Jenkinsfile vendored
View File

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