summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-26 12:17:34 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-26 12:37:49 +0200
commitce482092c94ac24412932c624de45a70585e1e31 (patch)
tree1b854b0a4e6bbfaf6b2ba6ae764bfa98c0336685 /bin
parent67060e4d86929e0b36019a4af2da2f0082c93c96 (diff)
downloadjenkins.debian.net-ce482092c94ac24412932c624de45a70585e1e31.tar.xz
lvc: retrieve artifacts (1st attempt)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lvc_retreive_artifacts.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/lvc_retreive_artifacts.sh b/bin/lvc_retreive_artifacts.sh
new file mode 100755
index 00000000..4ec30577
--- /dev/null
+++ b/bin/lvc_retreive_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_HOST:$TRIG_RESULTS/ $TRIG_RESULTS/
+chmod 775 $RESULTS
+echo "$(date -u) - the end."