diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2016-04-27 09:04:15 +0300 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2016-04-27 06:06:04 +0000 |
commit | b7897b8622d2dd95c02626645a04816861f74871 (patch) | |
tree | f2437bdc69e74af0e72ccf622aceb7ba076a8596 /odp-publish-gitstats.yaml | |
parent | c655fa9a0aa0e40a51b8120f37dd7e7b5da6c43f (diff) |
odp-publish-gitstats: get rid of build_type_dir
platform_type is a build job axis. It can be used directly.
Change-Id: I4a58dac46effe95f0d045503848a798c6d68bbdb
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'odp-publish-gitstats.yaml')
-rw-r--r-- | odp-publish-gitstats.yaml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/odp-publish-gitstats.yaml b/odp-publish-gitstats.yaml index 4e7543ac36..a7b2c70612 100644 --- a/odp-publish-gitstats.yaml +++ b/odp-publish-gitstats.yaml @@ -74,19 +74,15 @@ mkdir odp/publishing cd odp gitstats -c max_authors=50 -c merge_authors="mike-holmes,Mike Holmes" -c merge_authors="santosh shukla,Santosh Shukla" -c merge_authors="Yan Sonming,Yan Songming" -c merge_authors="venkatesh vivekanandan,Venkatesh Vivekanandan" . ./publishing/linux-${platform_type}-gitstats - - echo "build_type_dir=linux-${platform_type}-gitstats" > remote_directory_parameters - - inject: - properties-file: remote_directory_parameters - ssh: site: 'docs.opendataplane.org' target: 'incoming/${JOB_NAME}/${BUILD_NUMBER}' source: 'odp/publishing/**' command: | cd /srv/docs.opendataplane.org - rm -rf ${build_type_dir} + rm -rf linux-${platform_type}-gitstats mkdir snapshots - cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/${build_type_dir} snapshots/ + cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/linux-${platform_type}-gitstats snapshots/ rm -rf incoming/${JOB_NAME}/${BUILD_NUMBER} timeout: 120000 remove-prefix: 'odp/publishing' |