aboutsummaryrefslogtreecommitdiff
path: root/odp-release-publish.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-08-18 13:38:58 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2016-08-18 13:41:54 +0000
commitf713ebd73ee6a317ba6c7c48a262fe1b46a8f27d (patch)
treec06ec7084395cf26d60fe6f5dac641193adcf999 /odp-release-publish.yaml
parent5ac984bac4a885b4d7df77602bbfa2a0dbaaa719 (diff)
odp-release-publish: publish individual builds
Change-Id: I977a2f640ad67dac3a71327352c1c0a6da6b21fe Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-release-publish.yaml')
-rw-r--r--odp-release-publish.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/odp-release-publish.yaml b/odp-release-publish.yaml
index 299c9cb7c2..640003854a 100644
--- a/odp-release-publish.yaml
+++ b/odp-release-publish.yaml
@@ -129,15 +129,15 @@
properties-file: remote_directory_parameters
- ssh:
site: 'docs.opendataplane.org'
- target: 'incoming/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER}'
+ target: 'incoming/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER}'
source: 'check-odp/publishing/**'
command: |
cd /srv/docs.opendataplane.org
- mkdir -p snapshots/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER}/${GIT_BRANCH}
- cp -a incoming/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER}/${GIT_BRANCH}/${build_type_dir} snapshots/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER}/${GIT_BRANCH}
- rm -rf $(pwd)/snapshots/odp-release-publish/${platform_type}/${build_type}/latest
- ln -sf $(pwd)/snapshots/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER} snapshots/odp-release-publish/${platform_type}/${build_type}/latest
- rm -rf incoming/odp-release-publish/${platform_type}/${build_type}/${BUILD_NUMBER}
+ mkdir -p snapshots/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER}
+ cp -a incoming/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER}/${build_type_dir} snapshots/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER}
+ rm -rf $(pwd)/snapshots/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/latest
+ ln -sf $(pwd)/snapshots/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER} snapshots/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/latest
+ rm -rf incoming/odp-release-publish/${platform_type}/${build_type}/${GIT_BRANCH}/${BUILD_NUMBER}
timeout: 120000
remove-prefix: 'check-odp/publishing'
always-publish-from-master: true