Jenkinsfile syntax

This commit is contained in:
Gabriele C 2018-03-13 12:54:11 +01:00 committed by GitHub
parent 74bb9f213b
commit a3c4095877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
Jenkinsfile vendored
View File

@ -132,12 +132,12 @@ pipeline {
sh 'mvn -o deploy' sh 'mvn -o deploy'
} }
} }
post { }
always { post {
script { always {
if (env.CI_SKIP == "true") { script {
currentBuild.result = 'NOT_BUILT' if (env.CI_SKIP == "true") {
} currentBuild.result = 'NOT_BUILT'
} }
} }
} }