Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Control build order on a jazz build engine

Is there anyway to change the order of build request execution on a jazz build engine? Currently all our build engines run first in first out. I would like to run builds last in first out on one of my build engines, I couldn't see an option for this anywhere.

0 votes



2 answers

Permanent link
Richard,

The build queue is a simple FIFO queue. There currently isn't any support for JBE to process requests in any other order. Can you provide more details about your scenario?

One option would be for you to manage the queue yourself via Ant using the getNextTeamBuildRequest and startTeamBuild Ant tasks. e.g. have one process that continuously empties the FIFO queue using getNextTeamBuildRequest and adds it to the end of a list, and another that periodically takes the most recent request from the top of the list and processes it using startTeamBuild.

Of course, if a new request was issued while a build was in process, it would have to wait.

Regards,
Nick

0 votes


Permanent link
Hi Nick,

Thanks for the reply. The reason I was interested in using LIFO was because I was trying out using an additional ant build to run some tests on the code output from our normal builds. Basically I had our normal code build use requestTeamBuild to launch a test run. However, the tests are quite long running, so we prefer to run the most recent build request first to give us an idea of the most current code status although we are interested in getting all the results eventually to see where any failures were introduced.

I had noticed the getNextTeamBuildRequest, but I was hoping I might have overlooked an easier option! I will take another look at it.

Thanks,
Richard

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 24 '10, 6:29 a.m.

Question was seen: 5,672 times

Last updated: May 24 '10, 6:29 a.m.

Confirmation Cancel Confirm