diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-04-27 23:12:44 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-04-28 00:18:10 +0200 |
commit | 2353fe40cad9d9cc230f0617c879100f5b484bf3 (patch) | |
tree | 08bdd1cd15bfafa867642e712840b43abc7a63ee /jjb/common/include-xds-rsync-download-changeid.sh | |
parent | 6857c02981667d84241ba8f232396071c530eeb1 (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-changeid.sh')
-rw-r--r-- | jjb/common/include-xds-rsync-download-changeid.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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 |