summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2019-03-25 16:02:11 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2019-03-25 16:02:11 -0700
commitc260d5b22b852860d5cb5e6e27bd0a8b5bb098cc (patch)
tree4d890bb8fd21b325439b293195a32f6c7698185a /jjb/opnfvdocs
parent8d9f6824570ad43b26e712b1825882c87867d075 (diff)
Switch opnfvdocs to use the global-jjb RTD jobs
Change-Id: I3236468be6930dcbc5f4349bfa362279f719a8d5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r--jjb/opnfvdocs/docs-rtd.yaml18
1 files changed, 6 insertions, 12 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml
index a8d29e4b4..72b945f00 100644
--- a/jjb/opnfvdocs/docs-rtd.yaml
+++ b/jjb/opnfvdocs/docs-rtd.yaml
@@ -1,7 +1,13 @@
---
- project:
name: docs-rtd
+ project: 'opnfvdocs'
+ project-name: 'opnfvdocs'
+ rtd-build-url: 'https://readthedocs.org/api/v2/webhook/opnfv-releng/38594/'
+ rtd-token: '291c6a0109493b4457e566d06141212452c65784'
+ project-pattern: 'opnfvdocs'
jobs:
+ - '{project-name}-rtd-jobs'
- 'docs-merge-rtd-{stream}'
- 'docs-verify-rtd-{stream}'
@@ -15,10 +21,6 @@
- danube:
branch: 'stable/{stream}'
- project: 'opnfvdocs'
- rtdproject: 'opnfv'
- # TODO: Archive Artifacts
-
- job-template:
name: 'docs-merge-rtd-{stream}'
@@ -43,14 +45,6 @@
builders:
- 'remove-old-docs-from-opnfv-artifacts'
- - shell: |
- if [ $GERRIT_BRANCH == "master" ]; then
- RTD_BUILD_VERSION=latest
- else
- RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
- fi
- curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/opnfvdocsdemo
-
- job-template:
name: 'docs-verify-rtd-{stream}'