diff options
author | 2019-08-28 14:18:04 -0700 | |
---|---|---|
committer | 2019-08-28 14:19:55 -0700 | |
commit | 7d319181c7f74cd98cd82ec90a1faa7d43316c5e (patch) | |
tree | ccaecb737d223e317d14e4538b3208b5e098f39b /jjb/common/include-agl-run-test-short.sh | |
parent | e9c02675f2474bdb1ad71f833a9a9ab95e8bea51 (diff) |
jjb/common: fix DIST_BUILD_TOPIC usage
Fix use of DIST_BUILD_TOPIC to be used with --build-version (instead
of --name). build-version is the key used in the backend to collect
all related jobs, whereas --name is just for the LAVA job name.
The email report request also uses $DIST_BUILD_TOPIC, which will allow
and email report to be generated with results for all tests with the
same $DIST_BUILD_TOPIC.
Bug-AGL: SPEC-2646
Change-Id: I8657270bcbbc06f361b079a07f3922cf4e782e1a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 2358d1c5..6dc1c79f 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -27,12 +27,12 @@ CREATE_ARGS+="--machine ${releng_device} " 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 " if [[ ! -z $DIST_BUILD_TOPIC ]]; then - CREATE_ARGS+="--name $DIST_BUILD_TOPIC " + CREATE_ARGS+="--build-version $DIST_BUILD_TOPIC " else - CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER " + [[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_BB_DISTRO_VERSION-${DIST_LAYERS_MD5:0:8} " fi -[[ ! -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 " |