summaryrefslogtreecommitdiffstats
path: root/jjb/apex/update-build-result.groovy
blob: 1679582c8baaba82a7494f4b0ee3a564b83b4033 (plain)
1
2
3
4
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
}