summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-14 12:11:26 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-14 12:11:26 +0200
commitddb90ec948509e75940a33ee35f73f3dbd6d7de4 (patch)
tree8020c1558503712c99c2ff57c63f5e3a40ef7674 /bin
parent7810e364427224bdf332be89e6f8ef73b0cbea5c (diff)
downloadjenkins.debian.net-ddb90ec948509e75940a33ee35f73f3dbd6d7de4.tar.xz
reproducible: provide nice URLs to console logs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 02623b3b..b5e1f60b 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -213,7 +213,7 @@ handle_ftbfs() {
done
# notify about unkown diskspace issues where we are not 100% sure yet those are diskspace issues
if zgrep -e "No space left on device" "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ; then
- MESSAGE="$BUILD_URL for ${SRCPACKAGE} (ftbfs in $SUITE/$ARCH) _probably_ had a diskspace issue. Please check, tune handle_ftbfs() and reschedule the package."
+ MESSAGE="${BUILD_URL}console for ${SRCPACKAGE} (ftbfs in $SUITE/$ARCH) _probably_ had a diskspace issue. Please check, tune handle_ftbfs() and reschedule the package."
echo $MESSAGE | tee -a /var/log/jenkins/reproducible-diskspace-issues.log
irc_message "$MESSAGE"
fi
@@ -272,7 +272,7 @@ unregister_build() {
handle_env_changes() {
unregister_build
- MESSAGE="$(date -u ) - $BUILD_URL/console encountered a problem: $1"
+ MESSAGE="$(date -u ) - ${BUILD_URL}console encountered a problem: $1"
echo -e "$MESSAGE" | tee -a /var/log/jenkins/reproducible-env-changes.log
# no need to slow down
exec /srv/jenkins/bin/abort.sh
@@ -281,7 +281,7 @@ handle_env_changes() {
handle_remote_error() {
unregister_build
- MESSAGE="$BUILD_URL/console got remote error $1"
+ MESSAGE="${BUILD_URL}console got remote error $1"
echo "$(date -u ) - $MESSAGE" | tee -a /var/log/jenkins/reproducible-remote-error.log
echo "Sleeping 5m before aborting the job."
sleep 5m
@@ -292,7 +292,7 @@ handle_remote_error() {
handle_enospace() {
unregister_build
- MESSAGE="$BUILD_URL/console hit diskspace issues with $SRCPACKAGE on $SUITE/$ARCH, sleeping 30m."
+ MESSAGE="${BUILD_URL}console hit diskspace issues with $SRCPACKAGE on $SUITE/$ARCH, sleeping 30m."
echo "$MESSAGE"
echo "$MESSAGE" | mail -s "$BUILDER ran into diskspace problems" qa-jenkins-scm@lists.alioth.debian.org
irc_message "$MESSAGE"