diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-21 23:34:13 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-21 23:34:54 +0200 |
commit | b38b0dfaf377eaa4dcfa4a6504335e524ee9b1cb (patch) | |
tree | 1a5fb7baa5eccc4986b121a466463ab4fe07cc9c /jjb/fuel | |
parent | 0e4c022e3214ca9a0a5a306619c2b26c55367248 (diff) |
[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 <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/fuel')
-rw-r--r-- | jjb/fuel/fuel-verify-jobs.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |