This is an automated email from the ASF dual-hosted git repository.

abaker pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1954a35  GEODE-4247: Pre-populate email subject and body files
1954a35 is described below

commit 1954a350830f7e8e638e11f56c8f8b6d0333546e
Author: Sean Goller <[email protected]>
AuthorDate: Mon Jan 8 10:37:28 2018 -0800

    GEODE-4247: Pre-populate email subject and body files
    
    * If the container running the tests is killed, the error function
    * setting up the email contents will never run. Pre-populate the email
    * contents with text indicating the task timeout was hit.
    
    [GEODE-4247]
---
 ci/scripts/test-run.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/scripts/test-run.sh b/ci/scripts/test-run.sh
index 98214da..447fcc6 100755
--- a/ci/scripts/test-run.sh
+++ b/ci/scripts/test-run.sh
@@ -40,6 +40,12 @@ fi
 EMAIL_SUBJECT="${BUILDROOT}/built-geode/subject"
 EMAIL_BODY="${BUILDROOT}/built-geode/body"
 
+echo "Geode unit tests  '\${BUILD_PIPELINE_NAME}/\${BUILD_JOB_NAME}' took too 
long to execute" > $EMAIL_SUBJECT
+echo "Pipeline results can be found at:" >$EMAIL_BODY
+echo "" >>$EMAIL_BODY
+echo "Concourse: 
\${ATC_EXTERNAL_URL}/teams/\${BUILD_TEAM_NAME}/pipelines/\${BUILD_PIPELINE_NAME}/jobs/\${BUILD_JOB_NAME}/builds/\${BUILD_NAME}"
 >>$EMAIL_BODY
+echo "" >>$EMAIL_BODY
+
 # Called by trap when the script is exiting
 function error_exit() {
   echo "Geode unit tests completed in 
'\${BUILD_PIPELINE_NAME}/\${BUILD_JOB_NAME}' with non-zero exit code" > 
$EMAIL_SUBJECT

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to