Schedule one project to run on multiple selectors
Is there a way to fire a project off on multiple selectors simultaneously? I suppose I could wrap this functionality via the API, but was curious if I was missing an easier way to go about it from within BF. Perhaps somehow using the .run command?
|
3 answers
Is there a way to fire a project off on multiple selectors simultaneously? I suppose I could wrap this functionality via the API, but was curious if I was missing an easier way to go about it from within BF. Perhaps somehow using the .run command? You are looking for the broadcast functionality. Setup a selector that will mach the servers you want to run the project on. It easier to set the things you want run as a library, then simply have one step in your project that you run that broadcasts it to the servers. The help pages describe it very well. I use the functionality everyday. |
You are looking for the broadcast functionality. Setup a selector that will mach the servers you want to run the project on. It easier to set the things you want run as a library, then simply have one step in your project that you run that broadcasts it to the servers. The help pages describe it very well. I use the functionality everyday. Thanks for your reply, it looks like this is what I need. The help docs got me started, however I'm having some trouble with setting up the selector. It looks like I need to have the servers I want share a common variable value? Is there a way to simply define server names in the selector that I want to target? I tried adding a selector with multiple BF_NAME entries, however that didn't seem to work. It seemed to be attempting to find a server that matched both BF_NAME values. Still digging over here, so perhaps I'll stumble upon the solution. |
I was able to get the behavior I was looking for by setting up a collector which set a variable to a predetermined value. I then set my desired servers to use that collector.
When setting up the selector, I had it match the variable to that predetermined value. So now I'm able to run a set of steps on a desired set of servers within a single job. Thanks for the help. -Matt |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.