When I run an Execute shell build step to execute a script and that script returns 0, Jenkins flags the build as SUCCESS, oth
Can handle it via the Text-finder Plugin:
Failed on XXX - Exiting with RC 2 Exiting with RC [2-4].