Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC commandline build not failing for failed result

 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

0 votes



One answer

Permanent link
 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)

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Nov 14 '16, 2:48 a.m.

Question was seen: 1,907 times

Last updated: Nov 15 '16, 11:06 a.m.

Confirmation Cancel Confirm