[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: properly move results to target directory
Holger Levsen
holger at moszumanska.debian.org
Mon Nov 9 15:34:17 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 16c653e55f32183bfeb6fbff579427f7cb5760d8
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Nov 9 16:34:13 2015 +0100
reproducible: properly move results to target directory
---
bin/reproducible_html_rsync_remote_results.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_html_rsync_remote_results.sh b/bin/reproducible_html_rsync_remote_results.sh
index 1da1041..2b53c8d 100755
--- a/bin/reproducible_html_rsync_remote_results.sh
+++ b/bin/reproducible_html_rsync_remote_results.sh
@@ -3,7 +3,7 @@
# Copyright 2015 Holger Levsen <holger at layer-acht.org>
# released under the GPLv=2
-DEBUG=true
+DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
@@ -16,7 +16,9 @@ rsync_remote_results() {
echo "$(date -u) - Starting to rsync results for '$PROJECT'."
local RESULTS=$(mktemp --tmpdir=$TEMPDIR -d reproducible-rsync-XXXXXXXXX)
rsync -r -v -e ssh profitbricks-build3-amd64.debian.net:$BASE/$PROJECT/ $RESULTS
+ mv $BASE/$PROJECT ${RESULTS}.tmp
mv $RESULTS $BASE/$PROJECT
+ rm ${RESULTS}.tmp -r
echo "$(date -u) - $REPRODUCIBLE_URL/$PROJECT has been updated."
done
}
--
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