aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b9b80792d..13c56d928 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -104,7 +104,9 @@ pipeline {
sh "rm -f /tmp/archiva-master-jdk-8-${env.JOB_NAME}.xml"
}
failure {
- asfStandardBuild.notifyBuild("Failure in BuildAndDeploy stage")
+ script{
+ asfStandardBuild.notifyBuild("Failure in BuildAndDeploy stage")
+ }
}
}
}
@@ -155,7 +157,9 @@ pipeline {
post {
unstable {
- asfStandardBuild.notifyBuild("Unstable Build")
+ script {
+ asfStandardBuild.notifyBuild("Unstable Build")
+ }
}
success {
script {