Hi,

I have a question about how to create a matrix axis the behaves like a 
build parameter.

I have a custom build parameter which presents the user with a list of 
options to choose from and implements functionality based on the choice at 
runtime by overriding createBuildWrapper(). This works well as overriding 
setUp() from BuildWrapper gives me all the information I need to actually 
implement the parameter functionality (which is dependent of the node that 
the job is running on) and finally results in calls to addAction() with an 
class derived from EnvironmentContributingAction(). All that's working 
nicely.

As a next step I'd like to provide the same functionality as a matrix axis 
(basically make the axis look like a parameter so I can iterate over all 
the values), however it's not clear how I can add a buildWrapper to the 
matrix axis builds.  I can add a simple build variable using 
addBuildVariable(), but I need the BuildWrapper to perform some node 
specific initialisation (setup paths based on install path on a specific 
node).  Can anyone give any pointers about how to go about implementing 
this?

Thanks in advance,
Andy

-- 
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/d/optout.

Reply via email to