Adding Jenkinsfile

master
Patryk Gudalewicz 2022-10-28 09:49:23 +02:00
parent ddde46279f
commit b3cc35a755
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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}"
}
}
}
}