aboutsummaryrefslogtreecommitdiff
path: root/odp-publish-gitstats.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-04-26 17:37:37 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-04-26 17:37:43 +0200
commitebde148dcfff37945fcd624d9fc72b4323a48fb3 (patch)
tree2433c54a7a60e818daf7daafabed51dbd7af447f /odp-publish-gitstats.yaml
parenta2ad4d7c843565549a5abcf2ff2345360abf661f (diff)
odp-publish-gitstats: publish to incoming
Publish to incomming and re-shuffle files afterward. Change the publish timeout. Change-Id: I0209741935cbe798718332c5e2d3cca863a1fd06 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-publish-gitstats.yaml')
-rw-r--r--odp-publish-gitstats.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/odp-publish-gitstats.yaml b/odp-publish-gitstats.yaml
index 65aa24be46..ecbc38f339 100644
--- a/odp-publish-gitstats.yaml
+++ b/odp-publish-gitstats.yaml
@@ -74,11 +74,18 @@
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
- ssh:
site: 'docs.opendataplane.org'
- target: ''
+ target: 'incoming/${JOB_NAME}/${BUILD_NUMBER}'
source: 'odp/publishing/**'
- timeout: 60
+ command: |
+ cd /srv/docs.opendataplane.org
+ rm -rf ${build_type_dir}
+ cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/${build_type_dir} snapshots/
+ rm -rf incoming/${JOB_NAME}/${BUILD_NUMBER}
+ timeout: 120000
remove-prefix: 'odp/publishing'
always-publish-from-master: true
publishers: