It's all about the answers!

Ask a question

RTC commandline build not failing for failed result

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

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 (25017) | 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.