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

How to ignore error on RTC build.

 Hi,

My ant script calls a batch script. Somehow minor errors are encountered but can be ignored. The task of the batch script has no problem but the build always complete with error. 

How can a build always completed successfully. 

Thanks!

0 votes



One answer

Permanent link
 Assuming you are using the JBE, there is no way to mask the exit code on the JBE side.  If the exit code is non-zero then it will be a failure.  Ant doesn't really let you manipulate the exit code, so really the only way to mask the failure while using JBE/Ant is to modify the batch script to return exit code zero if a failure is minor or expected.

~Spencer

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
× 6,121
× 562
× 63

Question asked: Jul 07 '13, 10:38 p.m.

Question was seen: 5,553 times

Last updated: Jul 08 '13, 8:17 a.m.

Confirmation Cancel Confirm