aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short.sh
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-11-15 10:24:09 +0100
committerLoys Ollivier <lollivier@baylibre.com>2017-11-15 10:24:09 +0100
commit9929c8aaa1e6278efc26698f8fc1a6c311ff46b3 (patch)
tree755122c4efda18b788f12ca956ccf4a327c3023c /jjb/common/include-agl-run-test-short.sh
parentc912a72cbef86b2fbca84d13571ad0c7b56bad0b (diff)
jjb/common: lava-jobs: create device name aliases
The previous version would fail to find some boards if the device names were different between lava, AGL, releng. This version creates a device alias table. And uses this table with the correct name for each component (AGL, lava, releng). Change-Id: Ief064c5ff9edb2d824e80549148ee0ab40ebcddf Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r--jjb/common/include-agl-run-test-short.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh
index 7db7ec5d..ba0cdeb3 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -21,7 +21,7 @@ if [ ! -z $RELENG ] && \
echo "## Check version of python-jinja2: "
pip show jinja2
CREATE_ARGS=""
- CREATE_ARGS+="--machine ${__MACHINE} "
+ CREATE_ARGS+="--machine ${releng_device} "
CREATE_ARGS+="--url ci "
[[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="--changeid $GERRIT_CHANGE_NUMBER "
[[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="--patchset $GERRIT_PATCHSET_NUMBER "