[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix rsync

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 22:12:44 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 63eb3ea3fb01a03cb5b86af3e398aa83859c30fb
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 00:12:22 2015 +0200

    reproducible: fix rsync
---
 bin/reproducible_build.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 9864f29..ec78a04 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -508,7 +508,8 @@ check_buildinfo() {
 			first_build
 		else
 			ssh -p $PORT1 $NODE1 /srv/jenkins/bin/reproducible_build.sh 1 ${SRCPACKAGE} ${SUITE} ${TMPDIR}
-			rsync -e "ssh -p $PORT1" -r $NODE1:$TMPDIR/b1 .
+			rsync -e "ssh -p $PORT1" -r $NODE1:$TMPDIR/b1 $TMPDIR/
+			ls -R $TMPDIR
 			ssh -p $PORT1 $NODE1 "rm -r $TMPDIR"
 		fi
 		grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1
@@ -530,7 +531,8 @@ build_rebuild() {
 		first_build
 	else
 		ssh -p $PORT1 $NODE1 /srv/jenkins/bin/reproducible_build.sh 1 ${SRCPACKAGE} ${SUITE} ${TMPDIR}
-		rsync -e "ssh -p $PORT1" -r $NODE1:$TMPDIR/b1 .
+		rsync -e "ssh -p $PORT1" -r $NODE1:$TMPDIR/b1 $TMPDIR/
+                ls -R $TMPDIR
 		ssh -p $PORT1 $NODE1 "rm -r $TMPDIR"
 	fi
 	if [ -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then
@@ -543,7 +545,8 @@ build_rebuild() {
 			second_build
 		else
 			ssh -p $PORT2 $NODE2 /srv/jenkins/bin/reproducible_build.sh 2 ${SRCPACKAGE} ${SUITE} ${TMPDIR}
-			rsync -e "ssh -p $PORT2" -r $NODE2:$TMPDIR/b2 .
+			rsync -e "ssh -p $PORT2" -r $NODE2:$TMPDIR/b2 $TMPDIR/
+	                ls -R $TMPDIR
 			ssh -p $PORT2 $NODE2 "rm -r $TMPDIR"
 		fi
 		if [ -f b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then

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