Hello,
I've a very small Jenkins plugin, two classes overriding ToolInstallation and BuildWrapper, the point being to be able to trigger a build on any slave and inject an environment variable based on the location of this tool on a the slave. This works perfectly, and I now would like to be able to use the same behavior with matrix jobs.
I've created a new class extending hudson.matrix.Axis, and was able to display a new axis with the right names. However, I'm now struggling how to connect the BuildWrapper to the axis, in order to inject the env variable based on the value on the axis. Does anybody have any hint on how to implement that ?
Thanks a lot for your help,