summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-09-13 16:19:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-13 16:19:47 +0000
commit990d2e63fcaf3eee6c2d5a8b447d926b180fef23 (patch)
tree00ceb2eaae64b5578d021436ed4b2045f70a970e
parenta9cabc95f41010cca5c6ab3619dc3ced845266e3 (diff)
parent42119d3e4bf3bf80d3b2003cf55de5feb86ce71d (diff)
Merge "xci: Make it possible to skip deployment and healthcheck"
-rw-r--r--jjb/xci/xci-verify-jobs.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml
index f7dcb9937..f0a673bd8 100644
--- a/jjb/xci/xci-verify-jobs.yml
+++ b/jjb/xci/xci-verify-jobs.yml
@@ -212,6 +212,12 @@
- shell: |
#!/bin/bash
+ # skip the deployment if the patch doesn't impact the deployment
+ if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
+ echo "Skipping the deployment!"
+ exit 0
+ fi
+
# for some reason, the PATH is not set correctly
# setting PATH for ansible stuff
export PATH=/home/jenkins/.local/bin:$PATH
@@ -226,6 +232,12 @@
- shell: |
#!/bin/bash
+ # skip the healthcheck if the patch doesn't impact the deployment
+ if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
+ echo "Skipping the healthcheck!"
+ exit 0
+ fi
+
echo "Hello World!"
# this will be enabled once the xci is prepared