From d677ea872ffd8303fb7f08c651a39988886e59d5 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Sat, 7 Oct 2017 15:43:26 +0100 Subject: [PATCH] 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 --- jjb/xci/xci-verify-jobs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.16.6