It's all about the answers!

Ask a question

How to kickoff a build after another one is finishes?


Liora Milbaum (513289118) | asked Jul 02 '12, 8:21 a.m.
retagged Jul 02 '12, 10:08 a.m. by David Olsen (5237)
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


 

Accepted answer


permanent link
Ralph Schoon (63.6k33647) | answered Jul 02 '12, 8:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
Liora Milbaum commented Jul 02 '12, 9:39 a.m.

Thanks. This is what I was looking for.

Liora

One other answer



permanent link
David Olsen (5237) | answered Jul 02 '12, 10:20 a.m.
JAZZ DEVELOPER
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

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.