Jenkins: status according to the result of the build