Just a quick question, 
Which version of Jenkins are you using? 
As the changes for issue JENKINS-7285 are only in 1.515+ which is not yet 
released.
so to be able to use it you will need to have compiled Jenkins from the 
source at the moment.

Chris

On Thursday, 16 May 2013 15:03:57 UTC+1, tveon wrote:
>
> Hi,
>
> We are running a continous integration setup with a deployement job on 
> Jenkins, which deploys the new artifacts after succesful builds. 
> Depending on branch/tag/test-stage we deploy to one of a number of 
> environments, which have a different number of nodes (1, 2 or 4).
> Since it is the same steps, which needs to be performed for each node, a 
> matrix-build appeared to be the right way to go, assuming we can limit what 
> nodes to deploy using the combination filter - this is however where 
> trouble kicked in.
> In can see from https://issues.jenkins-ci.org/browse/JENKINS-7285, that 
> it should be possible, but I have not been able to find a working example.
>
> I have tried things like this:
> !(node=="c2" && !(env in ["tst1", "tst2", "dev1"])) && !(node=="c3" && 
> !(env in ["tst1"])) && !(node=="c4" && !(env in ["tst1"])) 
>
> which does not work. Trying to change it to:
> !(node=="c2" && !($env in ["tst1", "tst2", "dev1"])) && !(node=="c3" && 
> !($env in ["tst1"])) && !(node=="c4" && !($env in ["tst1"])) 
>
> results in an exception.
>
> Can anyone please advise on how to get this to work? (If it is indeed 
> possible.)
>
> Thanks
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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