From: Khouloud Touil Date: Mon, 28 Jan 2019 09:58:11 +0000 (+0100) Subject: jjb: Add new --device-tags argument X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F19781%2F3;p=ci-management.git jjb: Add new --device-tags argument This commit adds new --device-tags argument to the create_job process. The create_job will use the device tags to create the job template. Note, this commit will work only if the lavacli package is well configured. Change-Id: Ib9358daaaa9ecfbb0c261991b0d86b48796eb701 Signed-off-by: Khouloud Touil --- diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 903d9532..eb28c47c 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -23,6 +23,7 @@ BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER" CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER " CREATE_ARGS+="--build-version $BUILD_VERSION " CREATE_ARGS+="--callback-from ${LAVA_LAB} " +[[ ! -z $lavacli_tags ]] && CREATE_ARGS+="--device-tags ${lavacli_tags} " $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml if [ $? != 0 ]; then