-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: envinject-plugin
-
Environment:Jenkins 2.130
Plugin env-inject 2.1.6
Environnement : RHEL6
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