From: Khouloud Touil Date: Thu, 17 Oct 2019 12:01:03 +0000 (+0200) Subject: Change Email used for test-reports X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F22700%2F3;p=ci-management.git Change Email used for test-reports As AGL is migrating to groups.io, Adapting the test-report email to use the new one. AGL-bug: SPEC-2908 Signed-off-by: Khouloud Touil Change-Id: If19c7c1dcbf52442aff14bc42c6b3bcb8c68ed85 --- diff --git a/jjb/common/include-agl-send-email-report.sh b/jjb/common/include-agl-send-email-report.sh index 15474590..f94a0c07 100644 --- a/jjb/common/include-agl-send-email-report.sh +++ b/jjb/common/include-agl-send-email-report.sh @@ -32,7 +32,7 @@ if [ -n "$KCI_EMAIL_AUTH_TOKEN" ]; then GIT_DESCRIBE=$DIST_BB_DISTRO_VERSION-${DIST_LAYERS_MD5:0:8} fi 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 "ERROR: send_email_report: curl" + 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": ["agl-test-reports@lists.automotivelinux.org"], "format": ["txt"], "delay": 3600}' ${KCI_API}/send || echo "ERROR: send_email_report: curl" echo "The test email reportS will be sent with a delay of 1 hour " fi }