-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 2.164.2
Script Security 1.58
Permissive Script Security 0.3
Pipeline: Groovy 2.67
-
-
0.5
After updating to Script Security 1.58 permissive script security no longer permits unsafe method calls. I have -Dpermissive-script-security.enabled=no_security set up in the java args, and before upgrading to 1.58 I was receiving no warnings/errors when calling unsafe methods as expected. After upgrading I see many warnings in my pipeline log, such as:
Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature.
- causes
-
JENKINS-59227 Global Pipeline Libraries configuration lost
-
- Open
-
- is caused by
-
JENKINS-34973 RejectedAccessException thrown but no pending script approval added
-
- Resolved
-
- is related to
-
JENKINS-59145 After Jenkins upgrade pipeline script from SCM configuration is no longer visible on the GUI
-
- Resolved
-
[JENKINS-57171] Permissive script security plugin is broken after updating to script security 1.58
Description |
Original:
After updating to Script Security 1.58 permissive script security no longer permits unsafe method calls. I have *-Dpermissive-script-security.enabled=no_security* set up in the java args, and before upgrading to 1.58 I was receiving no warnings/errors when calling unsafe methods. After upgrading I see many warnings in my pipeline log, such as: Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. |
New:
After updating to Script Security 1.58 permissive script security no longer permits unsafe method calls. I have *-Dpermissive-script-security.enabled=no_security* set up in the java args, and before upgrading to 1.58 I was receiving no warnings/errors when calling unsafe methods as expected. After upgrading I see many warnings in my pipeline log, such as: Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. |
Component/s | New: workflow-cps-plugin [ 21713 ] |
Environment |
Original:
Jenkins 2.164.2 Script Security 1.58 Permissive Script Security 0.3 |
New:
Jenkins 2.164.2 Script Security 1.58 Permissive Script Security 0.3 Pipeline: Groovy 2.67 |
Link |
New:
This issue is caused by |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Released As | New: 0.4 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |
Attachment | New: example.JPG [ 47200 ] |
Attachment | New: scriptApproval.xml [ 47203 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |