[Qa-jenkins-scm] [jenkins.debian.net] 01/08: lvc: add some verbosity to make it clear what's happening to the mini.iso's

Holger Levsen holger at layer-acht.org
Wed Jul 13 19:28:47 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 02cd228bc6c0955322454f7aa1fc71d067d3e193
Author: Philip Hands <phil at hands.com>
Date:   Sun Jun 26 21:36:01 2016 +0200

    lvc: add some verbosity to make it clear what's happening to the mini.iso's
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/d-i_build.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 4f8cd0c..f644a82 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -63,15 +63,21 @@ preserve_artifacts() {
 	if [ -f $IMAGETAR -a "$PU_GIT_BRANCH" ] ; then
 		[ -d ${ISO_DIR} ] || mkdir ${ISO_DIR}
 
+		echo "untaring the .iso images from $IMAGETAR:"
 		tar -xvzf $IMAGETAR --no-anchored mini.iso
+		echo "sha256sum of .iso images:"
 		sha256sum installer-*/*/images/netboot/gtk/mini.iso installer-*/*/images/netboot/mini.iso
+		echo "move them into place..."
 		mv -f installer-*/*/images/netboot/gtk/mini.iso $(iso_target gtk)
 		mv -f installer-*/*/images/netboot/mini.iso $(iso_target text)
+		echo "and see if they are there (listing creation time):"
+		ls -ltrc $ISO_DIR
 
 		if [ "$HOSTNAME" = "jenkins" ] ; then
 			# FIXME this rsync should probably be in a separate job that the one on pb10 could then depend on -- otherwise race conditions seem to lurk
+			echo "and rsync them to the target node ($LVC_HOST):"
 			ssh -o 'Batchmode = yes' $LVC_HOST mkdir -p $ISO_DIR
-			rsync -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/
+			rsync -v -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/
 		fi
 	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