diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-01-02 16:37:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-01-02 16:37:19 +0000 |
commit | de66b7019f452a8a0948f7991fc07e9c9f27bb87 (patch) | |
tree | ec45a5483ca7462f06c1df1b5585b0c1b783e9c0 /jjb/common/include-apps-prepare-upload-folder-merged.sh | |
parent | 6b0635bb6b157ca1434ec268cdc557041888f908 (diff) | |
parent | 4f1e4787e247add28e63978af2abcd7ae3d5ab05 (diff) |
Merge "Apply new folder structure for application repository"
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} |