summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
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..8906dfdee 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/opnfvdocsdemo/79560/'
+ rtd-token: 'a96c3622a270344cf9bf3f73b0dfa04f59fc59c0'
+ 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}'