diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-11-20 12:25:01 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-12-05 14:21:08 +0000 |
commit | 7ba11a4322d2e2268329b743f056b82992699afd (patch) | |
tree | 273c3dd6943b257bfb248aeafa1bb238c743ae51 | |
parent | b94a77539b3a8cc54b38d2a342cda0241633f4bc (diff) |
tcwg-cleanup-stale-containers: Print NODE_NAME in mail body
So that we don't need additional clicks to know on which node a build
failed.
Change-Id: I17f54272ebba727e0ba225a1ca76f1e0b8ddd823
-rw-r--r-- | tcwg-cleanup-stale-containers.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tcwg-cleanup-stale-containers.yaml b/tcwg-cleanup-stale-containers.yaml index 279ff6c9..75eae085 100644 --- a/tcwg-cleanup-stale-containers.yaml +++ b/tcwg-cleanup-stale-containers.yaml @@ -79,8 +79,11 @@ builders: - shell: | #!/bin/bash - set -ex + cat << EOF > mail-body.txt + Cleaning stale containers on $NODE_NAME. + Please check console output at $BUILD_URL to view the results + EOF maybe_ssh="" case "$NODE_NAME" in tcwg-bmk-bkp-*) ;; @@ -112,3 +115,6 @@ - email-ext: recipients: tcwg-validation@linaro.org aborted: true + content-type: text + body: | + ${{FILE,path="mail-body.txt"}} |