Adding Jenkinsfile
parent
ddde46279f
commit
b3cc35a755
|
|
@ -44,6 +44,7 @@ pipeline {
|
|||
|
||||
stage('Execute Dashboard script') {
|
||||
steps {
|
||||
script {
|
||||
if(CLUSTER.isEmpty()) {
|
||||
currentBuild.result = 'ABORTED'
|
||||
error('Aborting due to missing CLUSTER parameter')
|
||||
|
|
@ -59,7 +60,7 @@ pipeline {
|
|||
SCRIPT_PARAMETER = SCRIPT_PARAMETER + " -E " + ENVIRONMENT.toString()
|
||||
sh "python createDash.py ${SCRIPT_PARAMETER}"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue