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!
|
One answer
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 |
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.