Issue Type: Bug Bug
Assignee: Jesse Glick
Components: script-security-plugin
Created: 02/Apr/15 7:34 PM
Description:

If I create a workflow script and run it in the Groovy Sandbox, with this line:
now = new Date().format("yyyyMMdd")

I get this error:
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified method java.util.Date format java.lang.String

And I do not get any option to approve it for use in the Script Approval UI. If I don't use the sandbox, the script works OK.

Environment: Jenkins 1.596.1, Script Security Plugin 1.13
Project: Jenkins
Priority: Minor Minor
Reporter: owenmehegan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to