Search code examples
jenkinserrorlevel

How do I "map" certain return value of a script to "yellow" status in Jenkins?


In Jenkins there is a possibility to create free project which can contain a script execution. The build fails (becomes red) when the return level of the script is not 0.

Is there a possibility to make it "yellow"?
(Yellow usually indicates successful build with failed tests)

The system runs on Linux.


Solution

  • Give the Log Parser Plugin a try. That should do the trick for you.