summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-start-new-vm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/xci/xci-start-new-vm.sh')
-rwxr-xr-xjjb/xci/xci-start-new-vm.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh
index c2f1f991f..7874e6776 100755
--- a/jjb/xci/xci-start-new-vm.sh
+++ b/jjb/xci/xci-start-new-vm.sh
@@ -14,6 +14,9 @@
# what you are doing.
#----------------------------------------------------------------------
+# ensure GERRIT_TOPIC is set
+GERRIT_TOPIC="${GERRIT_TOPIC:-''}"
+
# skip the deployment if the patch doesn't impact the deployment
if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
echo "Skipping the deployment!"