I have to use cases where I cant run my workflow due to errors thrown by 
script-security-plugin. Both workflows are being served via SCM:


1 - org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: 
unclassified new org.codehaus.groovy.runtime.GStringImpl java.lang.String 
java.lang.String[]


Can be reproduced by setting a job at jenkins 1.580.1, workflow-plugin 1.3 and 
script-security-plugin 1.13, and Groovy CPS DSL from SCM from master branch at 
https://github.com/witokondoria/jenkins-workflow-issues


2 - org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: 
unclassified new org.codehaus.groovy.runtime.GStringImpl groovy.lang.GString$2 
java.lang.String[]


Can be reproduced with the same previous settings, just commenting line 19 @ 
test.groovy 
<https://github.com/witokondoria/jenkins-workflow-issues/blob/master/test.groovy#L19>


I could circumvent those issues by not using GStrings, but seems dirty and with 
some other complex strcutures, unusable. 


Could this be a bug?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c3134b23-8907-481d-97f0-d74e16e329fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to