It's all about the answers!

Ask a question

Is it possible to invoke 'Request a Build' using command line?


Shuchita Tripathi (31436395) | asked May 26 '14, 5:38 a.m.

I have to create a script in which following tasks needs to be done.

1. flow the changes from first stream to second stream.

2. take the code from second stream and build it.

Is it possible to request a build from the command line?

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered May 26 '14, 6:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware that there is a command line option to request a built. There is an ANT task requestTeamBuild in the buildsystem toolkit that allows to request a build and you could try to use that. I am not sure if that would work.
Alternatively it is possible to write a small Java tool based on the Plain Java CLient Libraries, to do this in the JavaDoc for that look for com.ibm.team.build.client.ITeamBuildClient which provides this kind of capability.
Shuchita Tripathi selected this answer as the correct answer

Comments
Shuchita Tripathi commented May 26 '14, 7:24 a.m.

Thanks Ralph for the explanation.

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.