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 2fefd99  Added a section that reports commits made to the master 
branch.
2fefd99 is described below

commit 2fefd99f5c693dca0579457b90ab836a36c5a858
Author: Christofer Dutz <christofer.d...@c-ware.de>
AuthorDate: Tue Dec 11 10:43:07 2018 +0100

    Added a section that reports commits made to the master branch.
---
 Jenkinsfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5bda983..91efc56 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -251,6 +251,23 @@ Is back to normal.
                 }
             }
         }
+
+        always {
+            script {
+                if(env.BRANCH_NAME == "master") {
+                    emailext(
+                        subject: "[COMMIT-TO-MASTER]: A commit to the master 
branch was made'",
+                        body: """
+COMMIT-TO-MASTER: A commit to the master branch was made:
+
+Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} 
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
+""",
+                        to: "d...@plc4x.apache.org",
+                        recipientProviders: [[$class: 
'DevelopersRecipientProvider']]
+                    )
+                }
+            }
+        }
     }
 
 }
\ No newline at end of file

Reply via email to