-
Bug
-
Resolution: Fixed
-
Major
-
None
I tried to run the CD demo in the sandbox and got
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod java.util.UUID randomUUID at org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist.rejectStaticMethod(StaticWhitelist.java:164) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onStaticCall(SandboxInterceptor.java:100) at org.kohsuke.groovy.sandbox.impl.Checker$2.call(Checker.java:115) at org.kohsuke.groovy.sandbox.impl.Checker.checkedStaticCall(Checker.java:112) at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:81) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:15) at WorkflowScript.runWithServer(WorkflowScript:47) at WorkflowScript.run(WorkflowScript:16) at Unknown.Unknown(Unknown) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)
Fine, but then http://localhost:8081/scriptApproval/ did not list the rejected method. Is SandboxContinuable not calling ScriptApproval.accessRejected?
- is related to
-
JENKINS-25894 Ugly reporting of errors from parallel step
-
- Resolved
-
- links to
[JENKINS-26541] Rejected sandbox methods inside parallel not being recorded for approval
Assignee | Original: Kohsuke Kawaguchi [ kohsuke ] | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Summary | Original: Rejected sandbox methods not being recorded for approval | New: Rejected sandbox methods inside parallel not being recorded for approval |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "PR 43 (Web Link)" [ 12032 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Status | Original: Reopened [ 4 ] | New: Open [ 1 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Link |
New:
This issue is related to |