jenkinsci / jenkinsci/script-security-plugin
[JENKINS-33023] Enums are not supported in sandbox
- Dominant language
- Java
- Stars
- 76
- Forks
- 181
- Avg merge
- 14h 55m
- Merged PRs (30d)
- 3
Description
JenkinsFile SandBox error raised if the pipeline definition uses Enumerations:
```
Caused by: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified staticMethod package.EnumX $INIT java.lang.String java.lang.Integer
```
---
Originally reported by valones, imported from: Enums are not supported in sandbox
Raw content of original issue
JenkinsFile SandBox error raised if the pipeline definition uses Enumerations:
Caused by: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified staticMethod package.EnumX $INIT java.lang.String java.lang.Integer
environment
```
Jenkins 1.625.3
workflow-plugin 1.13
```
Contributor guide
Assessment
This issue has not been assessed yet.