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.
