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

rombert pushed a commit to branch feature/SLING-7245
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git


The following commit(s) were added to refs/heads/feature/SLING-7245 by this 
push:
     new b49ffa1  SLING-7245 - Validate pull requests using Jenkins
b49ffa1 is described below

commit b49ffa1185353ed57a9db6f23814c2c8f63b4655
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Dec 20 16:46:05 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Work around 'Scripts not permitted to use method net.sf.json.JSONArray join 
java.lang.String'
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index f464a4a..dce5820 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -152,5 +152,5 @@ def processResult(def currentBuild, String previous, def 
recipients) {
     
     body += '${BUILD_LOG}'
 
-    emailExt subject: subject, body: body, replyTo: '[email protected]', 
recipientProviders: recipientProviders, to: recipients.join(',')
+    emailExt subject: subject, body: body, replyTo: '[email protected]', 
recipientProviders: recipientProviders, to: recipients.toArray().join(',')
 }
\ No newline at end of file

Reply via email to