From b38b0dfaf377eaa4dcfa4a6504335e524ee9b1cb Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 21 Sep 2018 23:34:13 +0200 Subject: [fuel] verify: Use regex find instead of match ==~ and its negative form previously used mean the pattern should match the whole string, while =~ returns true for partial matches. Change-Id: Ibdeacb4bc221820175b15a87db343fc950e0f9e8 Signed-off-by: Alexandru Avadanii --- jjb/fuel/fuel-verify-jobs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/fuel') diff --git a/jjb/fuel/fuel-verify-jobs.yaml b/jjb/fuel/fuel-verify-jobs.yaml index fb9f50225..ea27d9c69 100644 --- a/jjb/fuel/fuel-verify-jobs.yaml +++ b/jjb/fuel/fuel-verify-jobs.yaml @@ -147,7 +147,7 @@ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE node-parameters: true - enable-condition: "def m = '$NODE_NAME' !=~ 'arm-virtual'" + enable-condition: "def m = ! ('$NODE_LABELS' =~ /armband-virtual/)" kill-phase-on: NEVER abort-all-job: true -- cgit 1.2.3-korg