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.
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 @@
         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}\"")