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

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            vjuranek
            Reporter:
            bikash kumar
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: