For projects that need to use Software Testing Automation Framework (STAF) assets for tests or automation. Any non-zero exit code causes Hudson to mark the build as a failure.
To know more about STAF project, please refer to the STAF Sourceforge Homepage