[FIXED JENKINS-16522]
Set the correct status of a maven build, in case that one module has test failures and other module don't compile.