summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2019-05-08 15:21:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-08 15:21:50 +0000
commit9772f646bee95b1b312da7856432fe2504262c3e (patch)
tree42fbd93cedbc93e827205ed728eaad00172e94da
parent29b72e61657ee3cf29ae9ace36e0120f09babb62 (diff)
parentc260d5b22b852860d5cb5e6e27bd0a8b5bb098cc (diff)
Merge "Switch opnfvdocs to use the global-jjb RTD jobs"
-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}'