diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-08-10 16:47:16 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-08-10 17:19:14 +0200 |
commit | a6dc862082e0ff296517e40ee904d98c2e96b239 (patch) | |
tree | 4ffafb6d2a6576c45a7eac088e31422b2463dfcb /jjb/common/include-apps-rsync-download-changeid.sh | |
parent | a7616c262ff994ed1a0930736ab5b8a301c1fd48 (diff) |
Update ci loop for apps to include master and dab release
Change-Id: I7434475bc75cd27c75b63e0a8e28e3525e12c684
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 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/jjb/common/include-apps-rsync-download-changeid.sh b/jjb/common/include-apps-rsync-download-changeid.sh index 5feaeb13..8a9129a1 100644 --- a/jjb/common/include-apps-rsync-download-changeid.sh +++ b/jjb/common/include-apps-rsync-download-changeid.sh @@ -13,9 +13,15 @@ export RSYNCSRC=$(pwd)/UPLOAD/ # construct upload folder #mv UPLOAD UPLOAD2 || true -rm -rf UPLOAD/${TARGETARCH} || true -mkdir -p UPLOAD/${TARGETARCH} -export DEST=$(pwd)/UPLOAD/${TARGETARCH} +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 |