jjb: xci: xci-verify-jobs: Fix regexp for GERRIT_TOPIC 13/44513/2
authorMarkos Chandras <mchandras@suse.de>
Sat, 7 Oct 2017 14:43:26 +0000 (15:43 +0100)
committerMarkos Chandras <mchandras@suse.de>
Sat, 7 Oct 2017 14:47:16 +0000 (15:47 +0100)
Drop the single quotes to regexp works as expected.

Change-Id: I2ea09be14bc83effdd5860fd35dda540b412cf59
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-verify-jobs.yml

index 945760f..62b69fe 100644 (file)
           #!/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
           #!/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