It's all about the answers!

Ask a question

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

Shuchita Tripathi (31435491) | 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 (62.0k33643) | answered May 26 '14, 6:27 a.m.
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 which provides this kind of capability.
Shuchita Tripathi selected this answer as the correct answer

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

Thanks Ralph for the explanation.

Your answer

Register or to post your answer.