aboutsummaryrefslogtreecommitdiff
path: root/odp-publish-gitstats.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-05-23 10:44:12 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-05-23 12:26:11 +0200
commit0e86bb6a9f519319c275101fe26eef013ee55720 (patch)
treedb4ded6a1272b820535f359dfb9ffe6120f97953 /odp-publish-gitstats.yaml
parentdb0dc6f00ea9aef23c6688daae0e270048f378d2 (diff)
odp-publish-gitstats: drop JOB_NAME variable use hardcoded var
Change-Id: I117a72ca1ea43aff242f39f5bbd28181c190a773 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-publish-gitstats.yaml')
-rw-r--r--odp-publish-gitstats.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/odp-publish-gitstats.yaml b/odp-publish-gitstats.yaml
index 5a8ccda677..b6de25a4f3 100644
--- a/odp-publish-gitstats.yaml
+++ b/odp-publish-gitstats.yaml
@@ -76,14 +76,14 @@
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
- ssh:
site: 'docs.opendataplane.org'
- target: 'incoming/${JOB_NAME}/${BUILD_NUMBER}'
+ target: 'incoming/odp-publish-gitstats-${platform_type}/${BUILD_NUMBER}'
source: 'odp/publishing/**'
command: |
cd /srv/docs.opendataplane.org
- mkdir snapshots/${JOB_NAME}/${BUILD_NUMBER}
- cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/linux-${platform_type}-gitstats snapshots/${JOB_NAME}/${BUILD_NUMBER}/
- ln -sf $(pwd)/snapshots/${JOB_NAME}/${BUILD_NUMBER} snapshots/${JOB_NAME}/latest
- rm -rf incoming/${JOB_NAME}/${BUILD_NUMBER}
+ mkdir 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}/
+ 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
remove-prefix: 'odp/publishing'
always-publish-from-master: true