aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-xds-rsync-download-xds.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-04-27 23:12:44 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-04-28 00:18:10 +0200
commit2353fe40cad9d9cc230f0617c879100f5b484bf3 (patch)
tree08bdd1cd15bfafa867642e712840b43abc7a63ee /jjb/common/include-xds-rsync-download-xds.sh
parent6857c02981667d84241ba8f232396071c530eeb1 (diff)
Add template for build of xds-server in CI
Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-xds-rsync-download-xds.sh')
-rw-r--r--jjb/common/include-xds-rsync-download-xds.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/common/include-xds-rsync-download-xds.sh b/jjb/common/include-xds-rsync-download-xds.sh
new file mode 100644
index 00000000..08c00707
--- /dev/null
+++ b/jjb/common/include-xds-rsync-download-xds.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+#set -x
+set -e
+
+echo -e "\n\n\n"
+echo "#########################################"
+echo -e "\n\n\n"
+# project branch buildid-changesetnr(latest)
+export RSYNCDST="/srv/download/AGL/xds/"
+export RSYNCSRC=$(pwd)/UPLOAD/*
+LANG=C tree $RSYNCSRC
+
+#set
+#exit 0
+ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${RSYNCDST}
+rsync -avr -l --inplace --copy-unsafe-links -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC jenkins-slave@10.30.72.8:$RSYNCDST