From 2353fe40cad9d9cc230f0617c879100f5b484bf3 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 27 Apr 2018 23:12:44 +0200 Subject: Add template for build of xds-server in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1 Signed-off-by: Jan-Simon Möller --- jjb/common/include-xds-rsync-download-xds.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 jjb/common/include-xds-rsync-download-xds.sh (limited to 'jjb/common/include-xds-rsync-download-xds.sh') 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 -- cgit 1.2.3-korg