This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new 636e0a0  use script
636e0a0 is described below

commit 636e0a09809f1c1f6380fa3c3c0d49f720afa001
Author: olivier lamy <ol...@apache.org>
AuthorDate: Mon Dec 31 14:45:35 2018 +1000

    use script
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b9b8079..13c56d9 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 {

Reply via email to