From dcfd253a2dc65b86ce14b70ccd75127ac46c3a87 Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Thu, 4 Jul 2019 11:43:00 +0200 Subject: [PATCH] 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 Change-Id: I60e166c185a922306a7fef0b123841957577c46c --- jjb/common/include-agl-run-test-short.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " -- 2.16.6