I'm maintaining a Jenkins plugin that defines (among several things) a 
ToolInstallation child class for MATLAB installations, and a specific 
Builder along with it. Now I want to put the MATLAB installations onto an 
Axis in a multi configuration build, then execute a matrix job for each 
MATLAB installation.

I need to a) get the Axis value, b) match it with a ToolInstallation name 
to get the home location, and c) use the location in my custom Builder. 
Right now, I can only think of complicated ways of doing this, so please 
share your ideas.

Particularly: How do I get the Axis value directly from inside the Builder? 
Using environment variables here seems to be rather roundabout.

Would you suggest a custom Axis implementation? Seems to relieve the user 
from explicitly reproducing the values and by doing so making errors. Any 
other benefits or drawbacks?

JDKAxis and JDK seems to be exactly what I'm looking for. But even after 
some time reverse-engineering their use in Jenkins core I'm not clear how 
to solve my problem.

Suggestions much appreciated.

Kind regards,
Alexander

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to