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-changeid.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 jjb/common/include-xds-rsync-download-changeid.sh (limited to 'jjb/common/include-xds-rsync-download-changeid.sh') diff --git a/jjb/common/include-xds-rsync-download-changeid.sh b/jjb/common/include-xds-rsync-download-changeid.sh new file mode 100644 index 00000000..c8e341a5 --- /dev/null +++ b/jjb/common/include-xds-rsync-download-changeid.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +#set -x +set -e + +echo -e "\n\n\n" +echo "#########################################" +echo -e "\n\n\n" + +export RSYNCDST="/srv/download/AGL/upload/ci/${GERRIT_CHANGE_NUMBER}/${GERRIT_PATCHSET_NUMBER}/" +export RSYNCSRC=$(pwd)/UPLOAD/* +LANG=C tree $RSYNCSRC +ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${RSYNCDST} +rsync -avr --inplace -L -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC jenkins-slave@10.30.72.8:$RSYNCDST -- cgit 1.2.3-korg