Fully disable lf-build5
[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       - lakelse:
21           branch: 'stable/{stream}'
22       - iruya:
23           branch: 'stable/{stream}'
24       - jerma:
25           branch: 'stable/{stream}'
26
27 - job-template:
28     name: 'docs-merge-rtd-{stream}'
29
30     project-type: freestyle
31
32     parameters:
33       - label:
34           name: SLAVE_LABEL
35           default: 'lf-build6'
36           description: 'Slave label on Jenkins'
37           all-nodes: false
38           node-eligibility: 'ignore-offline'
39       - project-parameter:
40           project: '{project}'
41           branch: '{branch}'
42
43     triggers:
44       - gerrit-trigger-change-merged:
45           project: '**'
46           branch: '{branch}'
47           files: 'docs/**/*.*'
48
49     builders:
50       - 'remove-old-docs-from-opnfv-artifacts'