diff options
author | Khouloud Touil <ktouil@baylibre.com> | 2019-02-27 14:17:30 +0100 |
---|---|---|
committer | Khouloud Touil <ktouil@baylibre.com> | 2019-02-27 14:17:30 +0100 |
commit | dc85ae0e254679937fa8c8414c3fadbb066356bd (patch) | |
tree | 88d4b74afb80bc0a2e82028d301d43e064341627 /jjb | |
parent | 2ccb4a2d233415b6f8e884a2da177e32dacdf8ed (diff) |
Use the --version argument
This patch uses the --version argument that will contain the
DIST_BB_AGLVERSION value that is extracted from the build-info file.
Change-Id: I81dfc60f290db8983af9dfcc51f47a71c1a2b031
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-run-test-short-guppy.sh | 1 | ||||
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-short-guppy.sh b/jjb/common/include-agl-run-test-short-guppy.sh index ab0411a1..29085064 100644 --- a/jjb/common/include-agl-run-test-short-guppy.sh +++ b/jjb/common/include-agl-run-test-short-guppy.sh @@ -25,6 +25,7 @@ CREATE_ARGS+="--name AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION " [[ ! -z $DIST_BUILD_HASH ]] && CREATE_ARGS+="--commit $DIST_BUILD_HASH " [[ ! -z $DIST_BUILD_ID ]] && CREATE_ARGS+="--build-id $DIST_BUILD_ID " [[ ! -z $DIST_BB_AGL_BRANCH ]] && CREATE_ARGS+="--branch $DIST_BB_AGL_BRANCH " +[[ ! -z $DIST_BB_AGLVERSION ]] && CREATE_ARGS+="--version $DIST_BB_AGLVERSION " CREATE_ARGS+="--callback-from ${LAVA_LAB} " $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 350a294a..c397f126 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -26,6 +26,7 @@ CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER " [[ ! -z $DIST_BUILD_HASH ]] && CREATE_ARGS+="--commit $DIST_BUILD_HASH " [[ ! -z $DIST_BUILD_ID ]] && CREATE_ARGS+="--build-id $DIST_BUILD_ID " [[ ! -z $DIST_BB_AGL_BRANCH ]] && CREATE_ARGS+="--branch $DIST_BB_AGL_BRANCH " +[[ ! -z $DIST_BB_AGLVERSION ]] && CREATE_ARGS+="--version $DIST_BB_AGLVERSION " CREATE_ARGS+="--callback-from ${LAVA_LAB} " if [[ ! -z $lavacli_tags ]] && [[ $MACHINE =~ "-nogfx" ]]; then CREATE_ARGS+="--device-tags ${lavacli_tags} " |