From e80270f62c3b6eb360ed82aa56de9903bf244743 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 24 Oct 2019 14:49:46 +0200 Subject: 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 --- jjb/common/include-agl-lava-jobs-submit.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit 1.2.3-korg