From 70c3bd8b574e276d25e0867fa279694fea3c5ad2 Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Wed, 19 Jun 2019 16:15:25 +0200 Subject: Remove the send email report part when submitting the job After managing to send the email test report after all the job have been finished, this patch remove the part to send email when submitting the job. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil Change-Id: I477ae5513cc1d9c5dcba9b2b71bb6bc38cbbbb99 --- jjb/common/include-agl-lava-jobs-submit.sh | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'jjb/common/include-agl-lava-jobs-submit.sh') diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 03c4733c..d349acdf 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -88,31 +88,6 @@ echo "####" echo "#### End: Output from LAVA job $job_id ####" echo "####" -# ask for email report - -set -x -if [ -n "$KCI_EMAIL_AUTH_TOKEN" ]; then - KCI_API='http://kernelci.dev.baylibre.com:8081' - TREE_NAME=$(grep kernel.tree: $JOB_FILE_NEW | sed 's,[[:space:]],,g' | cut -d: -f2) - BRANCH=$(grep git.branch: $JOB_FILE_NEW | sed 's,[[:space:]],,g' | cut -d: -f2) - GIT_DESCRIBE="$(grep kernel.version: $JOB_FILE_NEW | sed 's,[[:space:]],,g' | cut -d: -f2)" - set +e - lavacli -i $lab results $job_id > test_plan.raw - if [ $? -eq 0 ]; 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 $(