aboutsummaryrefslogtreecommitdiff
path: root/odp-diff-abi-publish.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-05-24 21:00:24 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-05-24 21:00:24 +0200
commit39493d89de90769edfa76569855a559b7054c475 (patch)
tree44cc00787b553018612fa78d1f3971eee26dce6c /odp-diff-abi-publish.yaml
parent94c04375d8c01802bae467025cf143d3b71886a2 (diff)
downloadconfigs-39493d89de90769edfa76569855a559b7054c475.tar.gz
odp-*publish*: remove link before creating a new
Change-Id: Ife2d2bae488bdc9f44f6a8c4938fc14263aff35c Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-diff-abi-publish.yaml')
-rw-r--r--odp-diff-abi-publish.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/odp-diff-abi-publish.yaml b/odp-diff-abi-publish.yaml
index f7b10ccb5..0eba2088c 100644
--- a/odp-diff-abi-publish.yaml
+++ b/odp-diff-abi-publish.yaml
@@ -81,6 +81,7 @@
cd /srv/docs.opendataplane.org
mkdir -p snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
cp -a incoming/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}/* snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
+ rm -rf $(pwd)/snapshots/odp-diff-abi-publish/${platform_type}/latest
ln -sf $(pwd)/snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER} snapshots/odp-diff-abi-publish/${platform_type}/latest
rm -rf incoming/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
timeout: 120000