diff options
author | 2017-09-18 00:52:47 +0200 | |
---|---|---|
committer | 2017-09-18 01:47:46 +0200 | |
commit | c03de42226fa655cca3db103b3cdc291b829f405 (patch) | |
tree | ebfd686773edb7640818acf694b065b64b7e1732 /jjb/common/include-apps-rsync-download-changeid.sh | |
parent | 72525273dc11c1d61a7091cb1cdad171a2e321c3 (diff) |
Update application CI job and extend local test script
Change-Id: I0f6609aeddc4b9b2d335921d980db6f4978b2cb6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-rsync-download-changeid.sh')
-rw-r--r-- | jjb/common/include-apps-rsync-download-changeid.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/jjb/common/include-apps-rsync-download-changeid.sh b/jjb/common/include-apps-rsync-download-changeid.sh index 8a9129a1..1f5e10b9 100644 --- a/jjb/common/include-apps-rsync-download-changeid.sh +++ b/jjb/common/include-apps-rsync-download-changeid.sh @@ -7,35 +7,8 @@ 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/ - -# construct upload folder -#mv UPLOAD UPLOAD2 || true -if test x"" = x"${AGLBRANCH}" ; then - rm -rf UPLOAD/${TARGETARCH} || true - mkdir -p UPLOAD/${TARGETARCH} - export DEST=$(pwd)/UPLOAD/${TARGETARCH} -else - rm -rf UPLOAD/${AGLBRANCH}/${TARGETARCH} || true - mkdir -p UPLOAD/${AGLBRANCH}/${TARGETARCH} - export DEST=$(pwd)/UPLOAD/${AGLBRANCH}/${TARGETARCH} -fi - -pushd ${MYPROJECT} -pwd - -ls -alh - -ls - -ls package || true - -cp package/*.wgt $DEST -ls -alh $DEST LANG=C tree $RSYNCSRC - -popd ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${RSYNCDST} rsync -avr -L -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC jenkins-slave@10.30.72.8:$RSYNCDST |