It's all about the answers!

Ask a question

Schedule one project to run on multiple selectors


Matt Wood (2632) | asked Oct 27 '10, 2:11 p.m.
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



permanent link
Leo Sager (312) | answered Oct 28 '10, 8:10 a.m.
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.

permanent link
Matt Wood (2632) | answered Oct 28 '10, 11:41 a.m.
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.

permanent link
Matt Wood (2632) | answered Oct 28 '10, 12:10 p.m.
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


Register or to post 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.