aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short.sh
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-07-11 15:37:28 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-07-11 15:37:28 +0200
commit2fd72f928063c81f66abee6dcf2eef8d8795443a (patch)
treea7f45efa4ec564ee0766dd84d5e45ac1ab77be99 /jjb/common/include-agl-run-test-short.sh
parent6fcef884f8199e0390fd657e3bd8ed7604bb34b3 (diff)
Modify the build-version as well as the GIT_DESCRIBE values
Using only the DIST_LAYERS_MD5 wont give us any really useful information so we use the version to get a proper information and append that with the DIST_LAYERS_MD5 to garantee the uniqueness for the email test reports. Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I9418d48c1d89718dcad63f4786f28490d257322c
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 1cd56dac..95db4875 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -28,7 +28,7 @@ CREATE_ARGS+="--build-type ci "
[[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="--changeid $GERRIT_CHANGE_NUMBER "
[[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="--patchset $GERRIT_PATCHSET_NUMBER "
CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER "
-[[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_LAYERS_MD5 "
+[[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_BB_DISTRO_VERSION-${DIST_LAYERS_MD5:0:8} "
[[ ! -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 "