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
      

          [JENKINS-33023] Enums are not supported in sandbox

          Flávio Augusto Valones created issue -
          Flávio Augusto Valones made changes -
          Link New: This issue is related to JENKINS-25119 [ JENKINS-25119 ]
          Flávio Augusto Valones made changes -
          Labels Original: script workflow New: workflow
          Flávio Augusto Valones made changes -
          Labels Original: workflow New: multibranch workflow
          Jesse Glick made changes -
          Labels Original: multibranch workflow New: groovy workflow
          Summary Original: Enums are Not supported in JenkinsFile SandBox New: Enums are not supported in sandbox
          Magnus Reftel made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Magnus Reftel [ magnusr ]
          Magnus Reftel made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-34739 [ JENKINS-34739 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-35294 [ JENKINS-35294 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168851 ] New: JNJira + In-Review [ 198481 ]

            Unassigned Unassigned
            valones Flávio Augusto Valones
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: