active choice
parent
e61ab10fdc
commit
ef2bf6a116
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue