The build status is resolved with script exit code.
So, be careful with the exit code of your script.
If you need to force success status :
#!/bin/bash my-cmd-error exit 0
Last updated 1 year ago