aboutsummaryrefslogtreecommitdiff
path: root/odp-publish-gitstats.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-publish-gitstats.yaml
parent94c04375d8c01802bae467025cf143d3b71886a2 (diff)
odp-*publish*: remove link before creating a new
Change-Id: Ife2d2bae488bdc9f44f6a8c4938fc14263aff35c Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-publish-gitstats.yaml')
-rw-r--r--odp-publish-gitstats.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/odp-publish-gitstats.yaml b/odp-publish-gitstats.yaml
index e3a121cee1..025fc92928 100644
--- a/odp-publish-gitstats.yaml
+++ b/odp-publish-gitstats.yaml
@@ -82,6 +82,7 @@
cd /srv/docs.opendataplane.org
mkdir -p snapshots/odp-publish-gitstats/${platform_type}/${BUILD_NUMBER}
cp -a incoming/odp-publish-gitstats/${platform_type}/${BUILD_NUMBER}/linux-${platform_type}-gitstats snapshots/odp-publish-gitstats/${platform_type}/${BUILD_NUMBER}/
+ rm -rf $(pwd)/snapshots/odp-publish-gitstats/${platform_type}/latest
ln -sf $(pwd)/snapshots/odp-publish-gitstats/${platform_type}/${BUILD_NUMBER} snapshots/odp-publish-gitstats/${platform_type}/latest
rm -rf incoming/odp-publish-gitstats/${platform_type}/${BUILD_NUMBER}
timeout: 120000