-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Slave running on windows
Tool Environment Plugin 1.1
Jenkins 2.7.4
When using the Tool Environment plugin, the environment variables get set before every build step (GOOD).
However, the tool installer gets run before every build step (BAD). The installers should run only once per job.
[JENKINS-40345] Tool installer runs multiple times with toolenv-plugin
Comment |
[ This issue should be considered *major* and should be fixed
As a workaround, we are using the Custom Tool plugin ] |
We have a similar issue with Jenkins 2.73.1 in production. Something runs before each step and generates a NPE:
As much as we'd love to switch to something else (using the pipeline plugin for example), this is not an option for us - we have more than 15,000 jobs today in production and we're pushing them to a Jenkins V2 environment progressively.
This exception is not blocking in the sense that the build carries on, but that's very annoying. The tool gets installed correctly.
If I contribute with a PR, is there any chance it could reviewed and released?
Thanks,
Damien.