summaryrefslogtreecommitdiffstats
path: root/jjb/apex/update-build-result.groovy
blob: 9edca6b6b8128f2cddda9349ca6fd67a53ed92a8 (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
}