[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: provide nice URLs to console logs

Holger Levsen holger at moszumanska.debian.org
Wed Oct 14 10:19:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ddb90ec948509e75940a33ee35f73f3dbd6d7de4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Oct 14 12:11:26 2015 +0200

    reproducible: provide nice URLs to console logs
---
 bin/reproducible_build.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 02623b3..b5e1f60 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 at lists.alioth.debian.org
 	irc_message "$MESSAGE"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list