diff options
author | 2018-01-02 16:53:58 +0100 | |
---|---|---|
committer | 2018-01-02 16:53:58 +0100 | |
commit | 4f1e4787e247add28e63978af2abcd7ae3d5ab05 (patch) | |
tree | 492bd1435e8deeaf14a3677c6a9f6edc425684f0 /jjb/common/include-apps-prepare-upload-folder-merged.sh | |
parent | 17b9b9cb90b4136651dd5405d6d82f37d60a3cae (diff) |
Apply new folder structure for application repository
Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-prepare-upload-folder-merged.sh')
-rw-r--r-- | jjb/common/include-apps-prepare-upload-folder-merged.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/jjb/common/include-apps-prepare-upload-folder-merged.sh b/jjb/common/include-apps-prepare-upload-folder-merged.sh index 0e273bd3..222e921c 100644 --- a/jjb/common/include-apps-prepare-upload-folder-merged.sh +++ b/jjb/common/include-apps-prepare-upload-folder-merged.sh @@ -32,9 +32,13 @@ fi # construct upload folder #mv UPLOAD UPLOAD2 || true rm -rf UPLOAD/* || true -mkdir -p UPLOAD/${MYPROJECT}/${AGLBRANCH}/changeset-${GERRIT_CHANGE_NUMBER}/${TARGETARCH} -ln -sf changeset-${GERRIT_CHANGE_NUMBER} UPLOAD/${MYPROJECT}/${AGLBRANCH}/latest -export DEST=$(pwd)/UPLOAD/${MYPROJECT}/${AGLBRANCH}/changeset-${GERRIT_CHANGE_NUMBER}/${TARGETARCH} + +PROJECTDIR="${AGLBRANCH}/${MYPROJECT}/${TARGETARCH}/" +PROJECTPATTERN="${PROJECTDIR}/changeset-${GERRIT_CHANGE_NUMBER}" + +mkdir -p UPLOAD/${PROJECTPATTERN} +ln -sf changeset-${GERRIT_CHANGE_NUMBER} UPLOAD/${PROJECTDIR}/latest +export DEST=$(pwd)/UPLOAD/${PROJECTPATTERN} # copy the wgt to the upload folder pushd ${MYPROJECT} |