diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-12 17:51:45 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-12 17:51:45 +0200 |
commit | e49843a1db42ef012bad51d80f50330f31b6c35f (patch) | |
tree | cec59c85bc2ddaf20137317cf4917ea48766276a | |
parent | cf71208d11cab629806e46e39f819d625f14d0ad (diff) | |
download | jenkins.debian.net-e49843a1db42ef012bad51d80f50330f31b6c35f.tar.xz |
reproducible Debian: link to worker logs too
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_nodes_info.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bin/reproducible_nodes_info.sh b/bin/reproducible_nodes_info.sh index 56001e53..9aa751f6 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 |