You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2019/01/09 23:39:36 UTC

[yetus] 03/04: YETUS-752. Jenkinsfile: only send mail to dev@ on apache.org (addendum)

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

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

commit 3c585421b6738cb8dee2149a832682a0c37f2c48
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Thu Jan 3 17:49:55 2019 -0800

    YETUS-752. Jenkinsfile: only send mail to dev@ on apache.org (addendum)
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index aee1009..e067994 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -208,7 +208,7 @@ pipeline {
                       reportFiles: 'report.html',
                       reportName: 'Yetus Report'
         ])
-        if (env.BRANCH_NAME == 'master') and (env.BUILD_URL.contains('apache.org')) {
+        if ((env.BRANCH_NAME == 'master') && (env.BUILD_URL.contains('apache.org'))) {
           emailext(subject: '$DEFAULT_SUBJECT',
                    body:
 '''For more details, see ${BUILD_URL}