diff options
author | Kevin Hilman <khilman@baylibre.com> | 2019-05-30 12:28:39 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-05-30 12:28:47 -0700 |
commit | 3c0d9b5a0a1ea8ec10c03de238ddcbf492646607 (patch) | |
tree | 5e944af357df1d252bd39c5c8c1154532cfd5bfe /jjb | |
parent | 49a8efa90e635e425d277df013c4bb71d5c8ca6e (diff) |
jjb/common: lava-jobs-submit: fix email recipients
Remove the leading space from the email recipient when requesting an
email report. The leading space was causing the SMTP handling on the
backend to reject the request.
Change-Id: Id176728a7c6eea8f54128d74cf658b13b6be81cb
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 55db062a..03c4733c 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -102,7 +102,7 @@ if [ -n "$KCI_EMAIL_AUTH_TOKEN" ]; then grep '* [0-9]' test_plan.raw |cut -d_ -f2- |cut -d. -f1 | sort | uniq > test_plans if [ -s test_plans ]; then for plan in $(<test_plans); do - 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 + 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 " done else |