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

How to kickoff a build after another one is finishes?

I am using:
RTC 4.0
Jazz Build Engine

My customer has a nightly build which has two parts. They can be executed on different build engines (and different build machines). One part is depended on the successful execution of the first one. 

Liora


 

0 votes


Accepted answer

Permanent link
Hi Liora, you might be able to use the requestTeamBuild ANT task. See http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.team.build.doc/topics/r_requestBuild.html
Liora Milbaum selected this answer as the correct answer

1 vote

Comments

Thanks. This is what I was looking for.

Liora


One other answer

Permanent link
There is not a way to configure the build definitions so that the RTC server will automatically start a second build once the first build is complete.  Instead, you will have to code that yourself in your build script.

You will want to use the requestTeamBuild Ant task.  http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Fr_requestBuild.html
The Ant script that is driving the first build should use the requestTeamBuild task to start the second build.  The requestTeamBuild task should happen near the end of the first build, and only if the first build is successful.

-- David Olsen, IBM Rational, Jazz Process Team

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
× 562

Question asked: Jul 02 '12, 8:21 a.m.

Question was seen: 5,409 times

Last updated: Jul 02 '12, 10:20 a.m.

Confirmation Cancel Confirm