diff options
Diffstat (limited to 'jjb/apex')
-rw-r--r-- | jjb/apex/update-build-result.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/update-build-result.groovy b/jjb/apex/update-build-result.groovy index 1679582c8..9edca6b6b 100644 --- a/jjb/apex/update-build-result.groovy +++ b/jjb/apex/update-build-result.groovy @@ -1,5 +1,5 @@ import hudson.model.* -if (manager.logContains("^.*apex-deploy-baremetal.*SUCCESS$") +if (manager.logContains('^.*apex-deploy-baremetal.*SUCCESS$') && manager.build.@result == hudson.model.Result.FAILURE) { manager.build.@result = hudson.model.Result.UNSTABLE } |