From 2fd72f928063c81f66abee6dcf2eef8d8795443a Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Thu, 11 Jul 2019 15:37:28 +0200 Subject: 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 Change-Id: I9418d48c1d89718dcad63f4786f28490d257322c --- jjb/common/include-agl-send-email-report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/common/include-agl-send-email-report.sh') diff --git a/jjb/common/include-agl-send-email-report.sh b/jjb/common/include-agl-send-email-report.sh index 5ac5971b..82582e24 100644 --- a/jjb/common/include-agl-send-email-report.sh +++ b/jjb/common/include-agl-send-email-report.sh @@ -24,7 +24,7 @@ if [ -n "$KCI_EMAIL_AUTH_TOKEN" ]; then KCI_API='http://kernelci.dev.baylibre.com:8081' TREE_NAME='AGL-yocto' BRANCH=$DIST_BB_AGL_BRANCH - GIT_DESCRIBE=$DIST_LAYERS_MD5 + GIT_DESCRIBE=$DIST_BB_DISTRO_VERSION-${DIST_LAYERS_MD5:0:8} PLAN='agl-testplan' curl -X POST -H "Authorization: $KCI_EMAIL_AUTH_TOKEN" -H "Content-Type: application/json" -d '{"job": "'$TREE_NAME'", "kernel": "'$GIT_DESCRIBE'", "git_branch": "'$BRANCH'", "report_type": "test", "plan": "'$PLAN'", "send_to": ["automotive-testreports@lists.linuxfoundation.org"], "format": ["txt"], "delay": 3600}' ${KCI_API}/send echo "The test email reportS will be sent with a delay of 1 hour " -- cgit 1.2.3-korg