Question on Build scripts & RTC Build
![]()
Hi all
I have a batch file which is calling CMake which also does some functionality I want to call this batch file for Build. If for some reason, CMake fails and throws error the same is not reported as failure in RTC. If my understanding is correct RTC is calling the Batch file and the Batch file calls CMake. The execution of batch file is successful and hence it is reported as success. But I want the RTC to report CMake is failed which is called via Batch files How can i achieve this? I was looking at creating Ant tasks but don't have one proper example thank you Karthik |
Accepted answer
![]()
I solved this by using ANT. In the ANT, based on the targets I report to the build whether its a Success or Failure
Ralph Schoon selected this answer as the correct answer
|
One other answer
![]() RTC only can detect the errors from the BAT file output, Or else, only you can do is using the RTC engine to check the build result.
What's more, the other solution is that you should creat new BAT file to output the build result. |
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.