summaryrefslogtreecommitdiffstats
path: root/bin/lvc_retrieve_artifacts.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-13 21:28:38 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-13 21:28:38 +0200
commit554aad2b2fbaaa05d3d1fa4e096e572a5caabfa8 (patch)
tree0cbde15d61a8200fea2d5c5083783efc10215d12 /bin/lvc_retrieve_artifacts.sh
parent44f21d294d45cf61a531999d82828d98cffd2361 (diff)
downloadjenkins.debian.net-554aad2b2fbaaa05d3d1fa4e096e572a5caabfa8.tar.xz
lvc: s#retreive#retrieve#g
Diffstat (limited to 'bin/lvc_retrieve_artifacts.sh')
-rwxr-xr-xbin/lvc_retrieve_artifacts.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/lvc_retrieve_artifacts.sh b/bin/lvc_retrieve_artifacts.sh
new file mode 100755
index 00000000..146558b6
--- /dev/null
+++ b/bin/lvc_retrieve_artifacts.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# Copyright 2015 Holger Levsen <holger@layer-acht.org>
+# released under the GPLv=2
+
+DEBUG=true
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
+
+# main
+echo "$(date -u) - Starting to rsync results."
+rsync -r -v -e "ssh -o 'Batchmode = yes'" $TRIG_NODE:$TRIG_RESULTS/ /$TRIG_RESULTS/
+chmod 775 $TRIG_RESULTS
+echo "$(date -u) - the end."