EnvInject not working after a jenkins update

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

XMLWordPrintable

      Hello,

      We encounter a regression each time we upgrade our jenkins (monthly).

      After each upgrade,  some builds using env-inject stop working, with the following error:

      [EnvInject] - [ERROR] - Problems occurs on injecting env vars defined in the build wrapper: org.jenkinsci.lib.envinject.EnvInjectException: Failed to evaluate the script. org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use.
      

       

      The error is solved once we save the job configuration (without any changes), yet since we have most than 150 jobs it slows us down

       

      Is this behaviour known? While it only affect some jobs and not all of them?
      Is it related to our installation (something wrong?)

       

      Thank you for your help

            Assignee:
            Unassigned
            Reporter:
            ymougenel
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: