aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short.sh
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-01-28 10:58:11 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-02-07 12:58:51 +0000
commit7bd7235c6558110cdf9f9595a988998695fa67cd (patch)
treeaa474824aff923076658e83dfff9ca4190182ac4 /jjb/common/include-agl-run-test-short.sh
parent84f0eb5dd32b0951c7977f77cd75fdc48469553b (diff)
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 <ktouil@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r--jjb/common/include-agl-run-test-short.sh1
1 files changed, 1 insertions, 0 deletions
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