diff options
author | 2017-08-03 21:39:22 -0400 | |
---|---|---|
committer | 2017-08-03 21:39:22 -0400 | |
commit | af3d0f65484c7ad99f716dae0adcf9b2044bee05 (patch) | |
tree | 802dda3b180616a63021715959a7280640eac36c /jjb/apex | |
parent | 99178e18ab050714db02f1a6bdcf337a21727fe0 (diff) |
Apex: fixes groovy script
The script had double quotes which will try to interpret dollar sign as
a templated variable. Switching to literal string.
Change-Id: Ic8d09dc6c862b9db95bf9d1277f562e5bce02fc9
Signed-off-by: Tim Rozet <trozet@redhat.com>
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 } |