It's all about the answers!

Ask a question

Request build from command line


Greg Hodgkinson (2092120) | asked Nov 16 '09, 11:52 a.m.
Is there a way to request a build from the command-line?

Accepted answer


permanent link
Nick Edgar (6.5k711) | answered Nov 17 '09, 2:56 p.m.
JAZZ DEVELOPER
It's fairly straightforward to use the existing Ant tasks to request a build, and provide a custom Ant script to do so that acts like a command line tool.

See the examples in the article:
http://jazz.net/library/article/195

See also the doc for the Ant tasks via:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#BuildSystemToolkitContents
Greg Hodgkinson selected this answer as the correct answer

Comments
Greg Hodgkinson commented Nov 17 '09, 3:30 p.m. | edited Jan 10 '14, 5:56 a.m.

Awesome, thanks for the input guys.

One other answer



permanent link
Evan Hughes (2.4k1318) | answered Nov 17 '09, 11:38 a.m.
JAZZ DEVELOPER
Is there a way to request a build from the command-line?


No.

It is possible to start them using the web UI, however. Go to the web UI for your repo, go to the project area, select builds, open the list of build definitions, choose a build definition, then click on the little pile of rocks with an arrow in the upper right hand corner.

e

Comments
Nick Edgar commented Jan 10 '14, 9:39 a.m.
JAZZ DEVELOPER

To clarify, the SCM CLI doesn't support build commands, but we have Ant tasks to do various things, including requesting a build.  See other answer here.

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.