diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-05-22 20:54:08 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-05-22 23:36:10 +0200 |
commit | 3c9a45b3032b66aaba75e5192287af9414e483c8 (patch) | |
tree | b6094dafebc96c8a10f7d5a9eafa8dc6ad79309f /jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh | |
parent | 04952b6c0bf9865cdde4429f262e4da3cb476e15 (diff) |
Rework for new image names and drop older releases.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0323fd9053ed3679772715a0080a1990209a563a
Diffstat (limited to 'jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh')
-rw-r--r-- | jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh b/jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh deleted file mode 100644 index 396dfb1c..00000000 --- a/jjb/release-jjb-chinook-release/include-release-jjb-chinook-release-move-sandbox.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -#set -x -set -e - -if test x"" = x"${RELEASE_BRANCH}"; then - echo "RELEASE_BRANCH invalid" - exit 1 -fi - -if test x"" = x"${RELEASE_VERSION}"; then - echo "RELEASE_VERSION invalid" - exit 1 -fi - - -export REMOTESRC="/srv/download/AGL/upload/ci/${RELEASE_BRANCH}/${RELEASE_VERSION}/" -export REMOTEDST="/srv/download/AGL/release/${RELEASE_BRANCH}/${RELEASE_VERSION}/" - -if test x"yes" = x"$UPLOAD" ; then - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${REMOTEDST} - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mv ${REMOTESRC}/* ${REMOTEDST}/ - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 rm -r ${REMOTESRC} - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 sh -c "cd /srv/download/AGL/release/${RELEASE_BRANCH}/ ; rm latest ; ln -sf ${RELEASE_VERSION} latest ; echo ${RELEASE_VERSION} > latest.txt" || true -fi - -exit 0
\ No newline at end of file |