From: Corentin LABBE Date: Thu, 24 Oct 2019 12:49:46 +0000 (+0200) Subject: SPEC-2903: define GERRIT_HOST X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e80270f62c3b6eb360ed82aa56de9903bf244743;p=ci-management.git 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 --- 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