Change the GIT_DESCRIBE value 49/21849/1
authorKhouloud Touil <ktouil@baylibre.com>
Thu, 11 Jul 2019 09:30:03 +0000 (11:30 +0200)
committerKhouloud Touil <ktouil@baylibre.com>
Thu, 11 Jul 2019 09:30:03 +0000 (11:30 +0200)
To follow the changes of the build-version value we should change the
GIT_DESCRIBE value to the same value which is DIST_LAYERS_MD5.

Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: Ia5c37620c57feee4bbb032b0127ea04e036a65fd

jjb/common/include-agl-send-email-report.sh

index 84f18cc..5ac5971 100644 (file)
@@ -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_BB_DISTRO_VERSION
+       GIT_DESCRIBE=$DIST_LAYERS_MD5
        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 "