It's all about the answers!

Ask a question

How does build queue works


Karthik Krishnan (8899122164) | asked Nov 08 '11, 11:10 a.m.
Hi,

Can anyone explain how Build Queue works in RTC? (per user and per build engine)

Thanks
Karthik Krishnan

3 answers



permanent link
Ralph Schoon (63.5k33646) | answered Nov 08 '11, 4:16 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

to my knowledge the build engines look (polls in a certain interval you can set in the start-up parameters) at the queues it is responsible for. As soon as there is a request it grabs it and starts building. I don't think there s a priority mechanism behind it. Once it is done it will look at the next request in the queues and do that.

You could run several build engines using different -data folders running on one machine to do things in parallel, but I think there is no coordination besides the first engine that finds some work in its interval grabs it.

That is about all I know.

permanent link
Karthik Krishnan (8899122164) | answered Nov 09 '11, 3:16 a.m.
Hi,

to my knowledge the build engines look (polls in a certain interval you can set in the start-up parameters) at the queues it is responsible for. As soon as there is a request it grabs it and starts building. I don't think there s a priority mechanism behind it. Once it is done it will look at the next request in the queues and do that.

You could run several build engines using different -data folders running on one machine to do things in parallel, but I think there is no coordination besides the first engine that finds some work in its interval grabs it.

That is about all I know.


Thanks Ralph. Can you explain how this works in following scenario?

Ex:

Integration Build Def 1 -> Build Engine 1
Integration Build Def 2 -> Build Engine 2
Integration Build Def 3 -> Build Engine 1

If a user (user1) requests Integration build 1,2 and 3 (in order) what I was expecting is that it will run 1 and 2 and put 3 on queue since 1 and 2 uses two different engines

But it looks like its runs 1 and puts 2 and 3 on queue for user1

permanent link
Ralph Schoon (63.5k33646) | answered Nov 09 '11, 3:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

all requests should be go into the queues. The build engines should check for the next on the queue not run. There is only a queue for the build definition - unrelated to any user. I am not sure how it would prioritize the different build queues.

So the question really is, why Build Engine 2 does not pick its build up. Is that running on a different machine? E.g. you can't just run the same JBE.exe on the same machine. You have at least to provide a different workspace for the JBE e.g. using the -data <WorkspacePath>.

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.