From af3d0f65484c7ad99f716dae0adcf9b2044bee05 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 3 Aug 2017 21:39:22 -0400 Subject: [PATCH] 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 --- jjb/apex/update-build-result.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.16.6