aboutsummaryrefslogtreecommitdiff
path: root/odp-diff-abi-publish.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-05-23 21:29:04 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-05-23 21:29:04 +0200
commitf274b8629962fc344a962674e7b278d6426bb214 (patch)
tree4824a7545f8a5dd3f1a5d02bc27d7ae72190ddf8 /odp-diff-abi-publish.yaml
parenta39025d81f61cc5a14bb6792a83a061154b9ed4b (diff)
downloadconfigs-f274b8629962fc344a962674e7b278d6426bb214.tar.gz
odp-diff-*publish: update to new publishing
Change-Id: I98bc6007f94875eee5ee73779679e85c3d569541 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-diff-abi-publish.yaml')
-rw-r--r--odp-diff-abi-publish.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/odp-diff-abi-publish.yaml b/odp-diff-abi-publish.yaml
index 7ad00f733..f7b10ccb5 100644
--- a/odp-diff-abi-publish.yaml
+++ b/odp-diff-abi-publish.yaml
@@ -75,14 +75,14 @@
bash -x ${WORKSPACE}/check-odp/diff-abi.sh |tee
- ssh:
site: 'docs.opendataplane.org'
- target: 'incoming/${JOB_NAME}/${BUILD_NUMBER}'
+ target: 'incoming/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}'
source: 'check-odp/publishing/**'
command: |
cd /srv/docs.opendataplane.org
- rm -rf snapshots/diff-abi
- mkdir snapshots
- cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/diff-abi snapshots/
- rm -rf incoming/${JOB_NAME}/${BUILD_NUMBER}
+ 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}
+ 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
remove-prefix: 'check-odp/publishing'
always-publish-from-master: true