summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs/docs-rtd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/opnfvdocs/docs-rtd.yaml')
-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}'