-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 1.646
Custom Tools Plugin 0.4.4
I want expose some environment variables to customTool installer, and I hope these environment variables can be from EnvInject and matrix job axes. But currently, these environment variables are injected after customTools runs, so I cannot use them.
Is it possible to let customTools run after these environment variables get injected ? Or if we cannot do it in current version, can this be implemented in future versions ?
I'm not 100% sure about Label axis. IIRC they used to work.
Regarding the EnvInject plugin, it depends on the build wrapper inclusion order. Currently it's not possible to alter the order in Jenkins core. I had a pull request for it (https://github.com/jenkinsci/jenkins/pull/1026), but I have not finished it.