[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: link to worker logs too

Holger Levsen holger at layer-acht.org
Mon Jun 12 15:51:54 UTC 2017


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 e49843a1db42ef012bad51d80f50330f31b6c35f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 12 17:51:45 2017 +0200

    reproducible Debian: link to worker logs too
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_nodes_info.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_nodes_info.sh b/bin/reproducible_nodes_info.sh
index 56001e5..9aa751f 100755
--- a/bin/reproducible_nodes_info.sh
+++ b/bin/reproducible_nodes_info.sh
@@ -28,7 +28,7 @@ write_page "<p style=\"clear:both;\">"
 for ARCH in ${ARCHS} ; do
 	write_page "<h3>$ARCH nodes</h3>"
 	write_page "<table>"
-	write_page "<tr><th>Name</th><th>maintenance</th>"
+	write_page "<tr><th>Name</th><th>maintenance</th><th>worker.log links</th>"
 		for SUITE in ${SUITES} ; do
 			if [ "$SUITE" = "experimental" ] ; then
 				continue
@@ -59,6 +59,17 @@ for ARCH in ${ARCHS} ; do
 		URL="https://jenkins.debian.net/view/reproducible/view/Node_maintenance/job/reproducible_maintenance_${ARCH}_${JENKINS_NODENAME}"
 		BADGE="$URL/badge/icon"
 		write_page "<td><a href='$URL'><img src='$BADGE' /></a></td>"
+		if [ "$JENKINS_NODENAME" = "jenkins" ] ; then
+			write_page "<td></td>"
+		else
+			write_page "<td>"
+			SHORTNAME=$(echo $NODE | cut -d '.' -f1)
+			for WORKER in $(grep "${ARCH}_" /srv/jenkins/bin/reproducible_build_service.sh | grep -v \# |grep $SHORTNAME | cut -d ')' -f1) ; do
+				write_page "<a href='https://jenkins.debian.net/userContent/reproducible/debian/build_service/${WORKER}/worker.log'>"
+				write_page "$(echo $WORKER |cut -d '_' -f2)</a> "
+			done
+			write_page "</td>"
+		fi
 		for SUITE in ${SUITES} ; do
 			if [ "$SUITE" = "experimental" ] ; then
 				continue

-- 
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