Merge "[docs] Add moselle to rtd job"
[releng.git] / jjb / opnfvdocs / docs-rtd.yaml
1 ---
2 - project:
3     name: docs-rtd
4     project: 'opnfvdocs'
5     project-name: 'opnfvdocs'
6     rtd-build-url: 'https://readthedocs.org/api/v2/webhook/opnfvdocsdemo/79560/'
7     rtd-token: 'a96c3622a270344cf9bf3f73b0dfa04f59fc59c0'
8     project-pattern: 'opnfvdocs'
9     jobs:
10       - '{project-name}-rtd-jobs'
11       - 'gerrit-tox-verify':
12           python-version: python3
13           tox-envs: "docs"
14           build-days-to-keep: 7
15       - 'docs-merge-rtd-{stream}'
16
17     stream:
18       - master:
19           branch: 'master'
20       - moselle:
21           branch: 'stable/{stream}'
22       - lakelse:
23           branch: 'stable/{stream}'
24       - iruya:
25           branch: 'stable/{stream}'
26       - jerma:
27           branch: 'stable/{stream}'
28
29 - job-template:
30     name: 'docs-merge-rtd-{stream}'
31
32     project-type: freestyle
33
34     parameters:
35       - label:
36           name: SLAVE_LABEL
37           default: 'lf-build6'
38           description: 'Slave label on Jenkins'
39           all-nodes: false
40           node-eligibility: 'ignore-offline'
41       - project-parameter:
42           project: '{project}'
43           branch: '{branch}'
44
45     triggers:
46       - gerrit-trigger-change-merged:
47           project: '**'
48           branch: '{branch}'
49           files: 'docs/**/*.*'
50
51     builders:
52       - 'remove-old-docs-from-opnfv-artifacts'