It's all about the answers!

Ask a question

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


Shuchita Tripathi (30424086) | 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 (57.2k23642) | 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.