-
New Feature
-
Resolution: Won't Fix
-
Blocker
-
None
To effectively deploy an application in our CI I need to be able to schedule a job on all nodes a label. Currently I see no way to achieve this without knowing all node names in advance and hardcoding them (for me that would be about 40).
example usage:
node('ci-server').each { // deploy application to all servers that participate in the testing // one would probably collect nodes here and then execute the jobs in parallel later - or directly here // also the argument to this function needs to give access to the node name and the labels at a minimum // I may even not want some nodes like in a feature branch that removed support for a platform I want to be able to check the node and probably ignore it }