You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/12/10 14:05:33 UTC

[incubator-plc4x] branch develop updated: PLC4X-78 - Write operations seem to fail - And another ...

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

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new a5aa4d0  PLC4X-78 - Write operations seem to fail - And another ...
a5aa4d0 is described below

commit a5aa4d001765e38263840fcf69c3b078977c3ca2
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Dec 10 15:05:30 2018 +0100

    PLC4X-78 - Write operations seem to fail
    - And another ...
---
 Jenkinsfile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8d807b0..f15f145 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -219,13 +219,15 @@ pipeline {
 
         // Send an email, if the last build was not SUCCESSfull and this one is.
         success {
-            if (currentBuild.previousBuild != null && currentBuild.previousBuild.result != 'SUCCESS') {
-                emailext (
-                    subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                    body: '${FILE, path="$WORKSPACE/tools/success-email-template.html"}',
-                    to: "dev@plc4x.apache.org",
-                    recipientProviders: [[$class: 'DevelopersRecipientProvider']]
-                )
+            script {
+                if (currentBuild.previousBuild != null && currentBuild.previousBuild.result != 'SUCCESS') {
+                    emailext (
+                        subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
+                        body: '${FILE, path="$WORKSPACE/tools/success-email-template.html"}',
+                        to: "dev@plc4x.apache.org",
+                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
+                    )
+                }
             }
         }
     }