Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25833

Allow access to static members

XMLWordPrintable

      When accessed to hudson.model.Result.SUCCESS in groovy-postbuild-plugin, the job fails with:

      Scripts not permitted to use staticField hudson.model.Result SUCCESS
      

      groovy-postbuild-plugin should permit accesses to any public static members as I don't think there's a case that a public static member cause a security vulnerability.

            jglick Jesse Glick
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: