adds return code to buildbot status