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