aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-10-24 14:49:46 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-10-24 14:50:38 +0200
commite80270f62c3b6eb360ed82aa56de9903bf244743 (patch)
tree03a4cd4fe1089b78f567bb6d936e7e919d611301
parent0723eea188feb956b1c8a9e8ee02c36f4484a5e1 (diff)
SPEC-2903: define GERRIT_HOST
If GERRIT_HOST is empty fallback to gerrit.automotivelinux.org Bug-AGL: SPEC-2903 Change-Id: Iced5435293c9fc0c3d260e3e27b2f15e03d9ea89 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh
index 9b876bf4..ebc5c1a9 100644
--- a/jjb/common/include-agl-lava-jobs-submit.sh
+++ b/jjb/common/include-agl-lava-jobs-submit.sh
@@ -71,6 +71,9 @@ echo "#### End: Output from LAVA job $job_id ####"
echo "####"
handle_skiplist() {
+ if [ -z "${GERRIT_HOST}" ]; then
+ export GERRIT_HOST="gerrit.automotivelinux.org"
+ fi
SKIPLIST=skiplist
# detect job type (apps vs non-apps) and get skiplist
if [ ! -z "$(echo $JOB_NAME | grep 'ci-platform')" ];then