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

permissive-script-security didn't work with jenkins 2.332.1 LTS

XMLWordPrintable

      Yesterday we have updated jenkins to 2.332.1 LTS.

      All our jobs are configured via groovy script job-dsl. Since this new upgrade all the jobs asking for admin script approval, previously we manage to skip/trun-off script approval using plugin called "permissive-script-security version v0.7".

      We configured this using war argument like -Dpermissive-script-security.enabled=no_security to stop asking Script approval. but now jobs are asking for admin script approval.

      Please suggest where to fix it and how to fix it.

      An example of issue is as follows
      Scripts not permitted to use method org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction getEnvironment.
      Administrators can decide whether to approve or reject this signature.

            vjuranek vjuranek
            sandboxbikash bikash kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: