From 9add27af0bc1329a8cdb15b71cc47720e0443960 Mon Sep 17 00:00:00 2001
From: Martin Stockhammer <martin_s@apache.org>
Date: Sun, 6 May 2018 16:57:46 +0200
Subject: Cleanup of build file

---
 Jenkinsfile-itest | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'Jenkinsfile-itest')

diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest
index fe7fea4cf..5e33c508e 100644
--- a/Jenkinsfile-itest
+++ b/Jenkinsfile-itest
@@ -47,7 +47,7 @@ pipeline {
             }
             post {
                 failure {
-                    notifyBuild("Checkout failure (${currentBuild.currentResult})")
+                    notifyBuild("Checkout failure")
                 }
             }
         }
@@ -89,7 +89,7 @@ pipeline {
                     junit testResults: '**/target/failsafe-reports/TEST-*.xml'
                 }
                 failure {
-                    notifyBuild("Build / Test failure (${currentBuild.currentResult})")
+                    notifyBuild("Failure in Htmlunit test stage")
                 }
             }
         }
@@ -139,7 +139,7 @@ pipeline {
                     junit testResults: '**/target/failsafe-reports/TEST-*.xml'
                 }
                 failure {
-                    notifyBuild("Build / Test failure (${currentBuild.currentResult})")
+                    notifyBuild("Failure in Chrome test stage")
                 }
             }
         }
@@ -147,7 +147,7 @@ pipeline {
     }
     post {
         unstable {
-            notifyBuild("Unstable Build (${currentBuild.currentResult})")
+            notifyBuild("Unstable Build")
         }
         always {
             cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
@@ -156,7 +156,7 @@ pipeline {
             script {
                 def previousResult = currentBuild.previousBuild?.result
                 if (previousResult && !currentBuild.resultIsWorseOrEqualTo(previousResult)) {
-                    notifyBuild("Fixed: ${currentBuild.currentResult}")
+                    notifyBuild("Fixed")
                 }
             }
         }
@@ -188,4 +188,4 @@ def notifyBuild(String buildStatus) {
     )
 }
 
-// vim: et:ts=2:sw=2:ft=groovy
+// vim: et:ts=4:sw=4:ft=groovy
-- 
cgit v1.2.3