Change Email used for test-reports 00/22700/3
authorKhouloud Touil <ktouil@baylibre.com>
Thu, 17 Oct 2019 12:01:03 +0000 (14:01 +0200)
committerKhouloud Touil <ktouil@baylibre.com>
Thu, 17 Oct 2019 12:05:00 +0000 (14:05 +0200)
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 <ktouil@baylibre.com>
Change-Id: If19c7c1dcbf52442aff14bc42c6b3bcb8c68ed85

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

index 1547459..f94a0c0 100644 (file)
@@ -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
 }