Apex: fixes groovy script 15/38715/1
authorTim Rozet <trozet@redhat.com>
Fri, 4 Aug 2017 01:39:22 +0000 (21:39 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 4 Aug 2017 01:39:22 +0000 (21:39 -0400)
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>
jjb/apex/update-build-result.groovy

index 1679582..9edca6b 100644 (file)
@@ -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
 }