[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian live_build: enable debug for the rsync job

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Thu Aug 26 09:52:30 BST 2021



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
77b3ce6a by Mattia Rizzolo at 2021-08-26T10:51:55+02:00
reproducible debian live_build: enable debug for the rsync job

also drop the 2>/dev/null that is likely hiding errors

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_html_rsync_remote_results.sh


Changes:

=====================================
bin/reproducible_html_rsync_remote_results.sh
=====================================
@@ -3,7 +3,7 @@
 # Copyright 2015-2021 Holger Levsen <holger at layer-acht.org>
 # released under the GPLv2
 
-DEBUG=false
+DEBUG=true
 . /srv/jenkins/bin/common-functions.sh
 common_init "$@"
 
@@ -17,7 +17,7 @@ rsync_remote_results() {
 	echo "$(date -u) - Starting to rsync results for '$PROJECT'."
 	local RESULTS=$(mktemp --tmpdir=$BASE/.. -d reproducible-rsync-${BUILD_ID}-XXXXXXXXX)
 	# copy the new results from build node to webserver node
-	if rsync -r -v -e "ssh -o 'Batchmode = yes'" $NODE:$BASE/$PROJECT/ $RESULTS 2>/dev/null ; then
+	if rsync -r -v -e "ssh -o 'Batchmode = yes'" $NODE:$BASE/$PROJECT/ $RESULTS ; then
 		chmod 775 $RESULTS
 		# move old results out of the way
 		if [ -d $BASE/$PROJECT ] ; then



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/77b3ce6a8c8a61826ea98d6b3164c700df9d22c5

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/77b3ce6a8c8a61826ea98d6b3164c700df9d22c5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210826/0c6d7730/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list