diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-03-04 11:29:33 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-03-04 11:31:51 +0100 |
commit | 0291ad009c2bf3641e1376b5dd7f0a16959d222c (patch) | |
tree | 38df4d298cc952350555cc5550f9eece34db13c8 /jjb | |
parent | 12172802b8edd9363f1e4aecb365adc325d9291e (diff) |
Upload to staging/ci directory
Change-Id: I4ed2e70b0eb530aacd3b63cc5038c507f3f7cf1b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh index 2958476b..eddbbc6a 100644 --- a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh @@ -19,7 +19,8 @@ echo "#######################################" cd repoclone/output -export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/release/${RELEASE_BRANCH}/${RELEASE_VERSION}/" +export REMOTEDST="/srv/download/AGL/upload/ci/${RELEASE_BRANCH}/${RELEASE_VERSION}/" +export RSYNCDST="jenkins-slave@10.30.72.8:${REMOTEDST}" export RSYNCSRC=$(pwd)/UPLOAD/ # construct upload folder @@ -46,6 +47,7 @@ ls -alhR $DEST echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST " if test x"yes" = x"$UPLOAD" ; then + ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir ${REMOTEDST} rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST fi |