jjb: xci: Ensure GERRIT_TOPIC is always set
[releng.git] / jjb / xci / xci-run-functest.sh
index 1bc569a..60b48cf 100755 (executable)
@@ -17,6 +17,9 @@ set -o pipefail
 # what you are doing.
 #----------------------------------------------------------------------
 
+# ensure GERRIT_TOPIC is set
+GERRIT_TOPIC="${GERRIT_TOPIC:-''}"
+
 # skip the healthcheck if the patch doesn't impact the deployment
 if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
     echo "Skipping the healthcheck!"