IBM i build command fails but the build is considered a success?
One answer
You also haven't specified what Build style you are using since there are more than one or specifying what version of RTC which dictates what Build types you have available.
Generally if one of the compiles that the build engine is doing fails the build fails. If you have post processing after the compiles it can be much more difficult to get the Build Engine to recognize that the Build has 'failed'.
Even with an escape message (back when we used that in RTC3 and 4) if you answered the message wait with anything but a C the Build would not 'fail'.
In our Build process we had a plugin that allowed us to set an error state that was passed to the Build engine but I think IBM added a MSGID that was an error flag. Just did some searching on jazz.net and can't find it, probably remembering incorrectly.
Provide more detail
Thanks Jeff
Arcad Software