active choice

main
ermisw 2023-10-04 12:13:50 +02:00
parent e61ab10fdc
commit ef2bf6a116
1 changed files with 7 additions and 1 deletions

8
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ pipeline {
} }
parameters { parameters {
string(name: 'DEMO NAME', defaultValue: 'demo', description: 'Enter the name of the demo') booleanParam(name: 'refresh', defaultValue: false, description: 'Refresh pipeline properties')
} }
// environment { // environment {
// //KUBECONFIG = credentials('kubernetes-config') // //KUBECONFIG = credentials('kubernetes-config')
@ -31,6 +31,12 @@ pipeline {
// sh 'python --version' // sh 'python --version'
// } // }
// } // }
stage('Refresh properties') {
if (Refresh) {
currentBuild.result = 'ABORTED'
error('Stopping early…')
}
}
stage('TF Plan') { stage('TF Plan') {
// agent { // agent {
// docker { // docker {