It's all about the answers!

Ask a question

RTC commandline build not failing for failed result


Sachin Nairy (5111220) | asked Nov 14 '16, 2:48 a.m.
edited Nov 14 '16, 2:49 a.m.
 Hi,

I created one ANT build definition using jazz ANT commandline build, I am passing below command in build definition, its working fine if build is passed, if build is failed still build result shows in green.

Command:c:\build\setEnv.cmd & ant –f c:\build\core.xml

Thanks & Regards

Sachin Nairy

One answer



permanent link
Daniel Barbour (250222) | answered Nov 15 '16, 11:06 a.m.
 You might try grouping the commands with parenthesis (and use the conditional execution token) as follows:

Command:(C:\build\setEnv.cmd && ant -f c:\build\core.xml)

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.