aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuilders/jiji/binhost-update3
-rwxr-xr-xbuilders/milou/binhost-update3
2 files changed, 4 insertions, 2 deletions
diff --git a/builders/jiji/binhost-update b/builders/jiji/binhost-update
index 4bb41e1..f2da664 100755
--- a/builders/jiji/binhost-update
+++ b/builders/jiji/binhost-update
@@ -24,7 +24,8 @@ send_email() {
local body
if [ -n "${logfile}" ]; then
- body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
+ url=$(curl -F "_=@${logfile}" https://paste.gentoo.zip)
+ body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s (download: %s)\n' "${logfile}" "${url}")
else
body=${message}
fi
diff --git a/builders/milou/binhost-update b/builders/milou/binhost-update
index 28669e2..8a304dd 100755
--- a/builders/milou/binhost-update
+++ b/builders/milou/binhost-update
@@ -41,7 +41,8 @@ send_email() {
local body
if [ -n "${logfile}" ]; then
- body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
+ url=$(curl -F "_=@${logfile}" https://paste.gentoo.zip)
+ body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s (download: %s)\n' "${logfile}" "${url}")
else
body=${message}
fi