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

Parallel builds - same build definition and build workspace

Hi, I can understand that parallel builds are supported, if you start several build engines with each a unique id, but supporting the same build definition.

But what happens with the shared build workspace? If build 1 accepts new changes and commences build, then build 2 accepts new changes not included in build 1 and commences.

Wont the changed state of the workspace confuse and maybe break the build for build 1?

0 votes


Accepted answer

Permanent link
Hi Morten,

After build 1 accepts new changes it retains a last modified timestamp for each component in the workspace and verifies it hasn't been modified before fetching each component.  If build 2 accepts more new changes to a component build 1 has yet to fetch, build 1 will fail upon fetching it.

So, build 1 may fail for this reason, but build 2 will carry on.  Build 1 however, will not successfully fetch an inconsistent workspace.

Scott
Morten Madsen selected this answer as the correct answer

1 vote

Comments

Thanks a lot :) - nice to have my suspicions verified. I solved this by creating more build definitions each having a separate workspace.

We're also using home grown ant tasks for accepting only changes that has a work item with a certain state, so it gets quite complicated when running with 4+ builds. At the beginning of the build, the build workspace will be balanced against the target stream (next environment stream in promotion level) and upon ending, it will only deliver work items in which all change-sets has been built successfully.

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
× 12,019

Question asked: Oct 15 '13, 1:18 p.m.

Question was seen: 7,006 times

Last updated: Oct 15 '13, 3:09 p.m.

Confirmation Cancel Confirm