aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-07-04 11:43:00 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-07-04 13:52:44 +0200
commitdcfd253a2dc65b86ce14b70ccd75127ac46c3a87 (patch)
tree0116a4630094e5c813446fa9789696d180755f59
parenta5a0656eb74aac92eefbc07c06a0b6d6e789ecd3 (diff)
Change the build-version value
To guarantee the a unique value of the build version, this patch change it to take the DIST_LAYERS_MD5 value and let down the DIST_BB_DISTRO_VERSION value which is not unique in the same day as it takes the build day date. This way we will have one email test report per build and get ride of the redundancy. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I60e166c185a922306a7fef0b123841957577c46c
-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 0a69360e..1cd56dac 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_BB_DISTRO_VERSION "
+[[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_LAYERS_MD5 "
[[ ! -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 "