It's all about the answers!

Ask a question

One build queue for multiple build requests

Liora Milbaum (513283117) | asked Jul 30 '12, 11:32 p.m.
edited Jul 31 '12, 12:22 a.m.
 My customer wants to deploy RTC Build Engine.
There is one AIX build machine which is used for team builds and personal builds. (~100 developers).
Each developer might request a personal build at any time. One JBE would be problematic as it doesn't parallel the builds. JBE for each developer would be a mass.  

What will be the best way to set it up?


Accepted answer

permanent link
David Olsen (5237) | answered Jul 31 '12, 1:06 a.m.
If the build machine is powerful enough to support it, run multiple JBEs on the build machine.  (Just make sure that things are configured so that two builds running at the same time don't interfere with each other.)  Each JBE that you run would have its own build engine defined on the server (which means each JBE process running on the build machine would have a different value for the -engineId argument).  Your build definition would be associated with all of the build engines, so that any of those build engines is able to run that build definition.

You don't need to create one build engine for each user.  You want to create exactly as many build engines as your build machine will support.  If you decide that your build machine can run six builds at the same time before performance degrades too much, then you would create six build engines and start six JBE processes.  If six developers requested personal builds at the same time, all six of those builds would get started.  If ten developers requested personal builds, then six of them would start, and the other four would be queued up until build engines were available.

If your build machine can run only one build at a time, then you should have only one JBE, and developers might have to wait a long time for their builds to run.  In that case, you should buy more build machines.
Liora Milbaum selected this answer as the correct answer

Ralph Schoon commented Jul 31 '12, 6:40 a.m.

You need to make sure to set at least the -data parameter if you run of the same jbe executable in addition to the engine IF for example -data /jbedata/JBEx for any instance x of the JBE process.

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.