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