-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
Jenkins 2.89.2
Script Security 1.3.9
We configured the pipeline to be executed after checking it out from scm, in this case we don't see a posibility to approve the whole script.
Exception:
Job failed with: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.net.URL openConnection
In the list of methods to approve, this method is not shown. (see screenshot) I read some other issues showing the same behaviour, but I did not find a workaround. Any thoughts on why this can occur?
[JENKINS-52740] RejectedAccessException for java.net.URL openConnection without posibility to approve
Summary | Original: RejectedAccessException for java.net.URL openConnection without possibility to approve | New: RejectedAccessException for java.net.URL openConnection without posibility to approve |
Environment |
Original:
Jenkins 2.89 Script Security 1.3.9 |
New:
Jenkins 2.89.2 Script Security 1.3.9 |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |