From: Markos Chandras Date: Sat, 7 Oct 2017 14:43:26 +0000 (+0100) Subject: jjb: xci: xci-verify-jobs: Fix regexp for GERRIT_TOPIC X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F44513%2F2;p=releng.git jjb: xci: xci-verify-jobs: Fix regexp for GERRIT_TOPIC Drop the single quotes to regexp works as expected. Change-Id: I2ea09be14bc83effdd5860fd35dda540b412cf59 Signed-off-by: Markos Chandras --- diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml index 945760f17..62b69fe74 100644 --- a/jjb/xci/xci-verify-jobs.yml +++ b/jjb/xci/xci-verify-jobs.yml @@ -295,7 +295,7 @@ #!/bin/bash # skip the deployment if the patch doesn't impact the deployment - if [[ "$GERRIT_TOPIC" =~ 'skip-verify|skip-deployment' ]]; then + if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then echo "Skipping the deployment!" exit 0 fi @@ -310,7 +310,7 @@ #!/bin/bash # skip the healthcheck if the patch doesn't impact the deployment - if [[ "$GERRIT_TOPIC" =~ 'skip-verify|skip-deployment' ]]; then + if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then echo "Skipping the healthcheck!" exit 0 fi