Multiple implementations of EnvironmentContributingAction

7 views
Skip to first unread message

ejo...@gmail.com

unread,
Oct 28, 2015, 8:35:02 AM10/28/15
to Jenkins Users
We do have a Jenkins plugin that implements a trigger and upon the triggering it do instantiate and contribute to the build environment with some own environment variables. This is done by a EnvironmentContributingAction that we do add. In addition to this we do use Jenkins parameters and if I dont get this wrong this will also be an instance of a EnvironmentContributingAction (ParameterAction).

Now to my question.... If both of these add the same variable name with different values (for the parameters it will be its default setting) is it really deterministic to know which of the value that will be the one that will be seen in the build step? 

I have the same job and has tested on two different types of installations (locally on a Win setup, and on some linux server) and I get different results. 

/Jörgen  
Reply all
Reply to author
Forward
0 new messages