aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorolivier lamy <olamy@apache.org>2018-12-31 14:45:35 +1000
committerolivier lamy <olamy@apache.org>2018-12-31 14:45:35 +1000
commit636e0a09809f1c1f6380fa3c3c0d49f720afa001 (patch)
treec6fcf80f6ed82b36b885edcd575c584c3c7d480d /Jenkinsfile
parent5a80f014e45dfdc856cf6f791e221244ae010948 (diff)
downloadarchiva-636e0a09809f1c1f6380fa3c3c0d49f720afa001.tar.gz
archiva-636e0a09809f1c1f6380fa3c3c0d49f720afa001.zip
use script
Signed-off-by: olivier lamy <olamy@apache.org>
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 {