Possibility to run one build from another one
2 answers
We have the requestTeamBuild Ant task to queue a new build for a given build definition, and optionally override build properties. There's also waitForTeamBuild. See resources at the other thread referenced here for more details. With this you could request build1 and it would queue build2 at the end. Or you could have a third build definition that queues build 1, waits for it to complete, then queues build 2. The problem with that approach is that it would occupy one JBE instance while waiting.
Comments
Another option would be to have build 2 request and wait for build 1 (as its first step), which would avoid the machine resource usage problem.
Here's a link to the v4.0.5 documentation on the requestTeamBuild Ant task.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/topic/com.ibm.team.build.doc/topics/r_requestBuild.html
Hi Mateusz,
I don't think it is available for now. Anyway what kind of build are you using now? There is API available to request the build e.g. from ant script: https://jazz.net/forum/questions/27061/request-build-from-command-line/27063
Why not build simple build definition which will run 2 builds sequentially?
Let us know if it helps.
I don't think it is available for now. Anyway what kind of build are you using now? There is API available to request the build e.g. from ant script: https://jazz.net/forum/questions/27061/request-build-from-command-line/27063
Why not build simple build definition which will run 2 builds sequentially?
Let us know if it helps.