From: Alexandru Avadanii Date: Fri, 21 Sep 2018 21:34:13 +0000 (+0200) Subject: [fuel] verify: Use regex find instead of match X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=b38b0dfaf377eaa4dcfa4a6504335e524ee9b1cb [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 --- 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