maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [maven-jenkins-env] branch master updated: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods and java.lang.Boolean java.lang.Boolean. Administrators can decide whether to approve or reject this signature.
Date Fri, 02 Aug 2019 22:25:13 GMT
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-env.git


The following commit(s) were added to refs/heads/master by this push:
     new 29f02e2  Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods
and java.lang.Boolean java.lang.Boolean. Administrators can decide whether to approve or reject
this signature.
29f02e2 is described below

commit 29f02e2d703e08408942e76e32d156330df2fcf8
Author: tibordigana <tibordigana@apache.org>
AuthorDate: Sat Aug 3 00:25:00 2019 +0200

    Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods
and java.lang.Boolean java.lang.Boolean. Administrators can decide whether to approve or reject
this signature.
---
 vars/jenkinsNotify.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/jenkinsNotify.groovy b/vars/jenkinsNotify.groovy
index 9f80f73..76d4168 100644
--- a/vars/jenkinsNotify.groovy
+++ b/vars/jenkinsNotify.groovy
@@ -103,7 +103,7 @@ def call(Map params = [:]) {
         messageBody = messageBody + "\n"
     }
     println("The authors of changes ${authors.unique()}.")
-    sendMail &= !authors.contains('github')
+    if (authors.contains('github')) sendMail = false
     if (sendMail) {
         messageBody = messageBody + '\n${FAILED_TESTS}\n' + messageTail
         println("Sending email with message body \"${messageBody}\"")


Mime
View raw message