[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: maintenance: adjust cut(1) parameters after file move, now logs are one level deeper

Holger Levsen holger at layer-acht.org
Sat Jun 11 16:00:56 UTC 2016


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 34432d3c7911d4fb78b44e4722e50175ab648494
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Jun 11 15:59:32 2016 +0000

    reproducible debian: maintenance: adjust cut(1) parameters after file move, now logs are one level deeper
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_maintenance.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index b8a2fbb..295eaa9 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -180,9 +180,9 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 		echo "Rescheduling packages: "
 		REQUESTER="jenkins maintenance job"
 		REASON="maintenance reschedule: reschedule builds which failed due to network errors"
-		for SUITE in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f8 | sort -u) ; do
-			for ARCH in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f9 | sort -u) ; do
-				CANDIDATES=$(for PKG in $(echo $FAILED_BUILDS | sed "s# #\n#g" | grep "/$SUITE/$ARCH/" | cut -d "/" -f10 | cut -d "_" -f1) ; do echo "$PKG" ; done)
+		for SUITE in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f9 | sort -u) ; do
+			for ARCH in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f10 | sort -u) ; do
+				CANDIDATES=$(for PKG in $(echo $FAILED_BUILDS | sed "s# #\n#g" | grep "/$SUITE/$ARCH/" | cut -d "/" -f11 | cut -d "_" -f1) ; do echo "$PKG" ; done)
 				# double check those builds actually failed
 				TO_SCHEDULE=""
 				for pkg in $CANDIDATES ; do
@@ -212,9 +212,9 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 		echo "Rescheduling packages: "
 		REQUESTER="jenkins maintenance job"
 		REASON="maintenance reschedule: reschedule builds which failed due to diffoscope schroot errors"
-		for SUITE in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f8 | sort -u) ; do
-			for ARCH in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f9 | sort -u) ; do
-				CANDIDATES=$(echo $FAILED_BUILDS | sed "s# #\n#g" | grep "/$SUITE/$ARCH/" | cut -d "/" -f10 | cut -d "_" -f1 | xargs)
+		for SUITE in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f9 | sort -u) ; do
+			for ARCH in $(echo $FAILED_BUILDS | sed "s# #\n#g" | cut -d "/" -f10 | sort -u) ; do
+				CANDIDATES=$(echo $FAILED_BUILDS | sed "s# #\n#g" | grep "/$SUITE/$ARCH/" | cut -d "/" -f11 | cut -d "_" -f1 | xargs)
 				if [ ! -z "$CANDIDATES" ]; then
 					schedule_packages $CANDIDATES
 				fi

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