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