doc: fix rst and jjb to have consistent view in html and pdf
[releng.git] / jjb / opnfv / opnfv-docs.yml
1 ########################
2 # Job configuration for opnfv-docs
3 ########################
4 - project:
5
6     name: opnfv-docs
7
8     project: opnfv-docs
9
10     jobs:
11         - 'opnfv-docs-verify'
12         - 'opnfv-docs-merge'
13
14     # stream:    branch with - in place of / (eg. stable-arno)
15     # branch:    branch (eg. stable/arno)
16     stream:
17         - master:
18             branch: 'master'
19
20 ########################
21 # job templates
22 ########################
23
24 - job-template:
25     name: 'opnfv-docs-verify'
26
27     node: master
28
29     project-type: freestyle
30
31     logrotate:
32         daysToKeep: 30
33         numToKeep: 10
34         artifactDaysToKeep: -1
35         artifactNumToKeep: -1
36
37     parameters:
38         - project-parameter:
39             project: $GERRIT_PROJECT
40         - gerrit-parameter:
41             branch: 'master'
42
43     scm:
44         - gerrit-trigger-scm:
45             credentials-id: '{ssh-credentials}'
46             refspec: '$GERRIT_REFSPEC'
47             choosing-strategy: 'gerrit'
48
49     wrappers:
50         - ssh-agent-credentials:
51             user: '{ssh-credentials}'
52
53     triggers:
54         - gerrit:
55             trigger-on:
56                 - patchset-created-event:
57                     exclude-drafts: 'false'
58                     exclude-trivial-rebase: 'false'
59                     exclude-no-code-change: 'false'
60                 - draft-published-event
61                 - comment-added-contains-event:
62                     comment-contains-value: 'recheck'
63                 - comment-added-contains-event:
64                     comment-contains-value: 'reverify'
65             projects:
66               - project-compare-type: 'REG_EXP'
67 #Left out arno projects oscar|octopus|functest|genesis
68                 project-pattern: 'vswitchperf|yardstick|apex|availability|bottlenecks|compass4nfv|conductor|copper|doctor|dovetail|dpacc|escalator|fastpathmetrics|fuel|inspector|ipv6|joid|kvmfornfv|lsoapi|moon|movie|multisite|onosfw|ovsnfv|parser|prediction|promise|qtip|releng|rs|sdnvpn|sfc|vnf_forwarding_graph|enfv|pinpoint|pharos|opnfvdocs'
69                 branches:
70                   - branch-compare-type: 'ANT'
71                     branch-pattern: '**/master'
72                 file-paths:
73                   - compare-type: ANT
74                     pattern: 'docs/**'
75
76     builders:
77         - upload-review-docs
78
79 - job-template:
80     name: 'opnfv-docs-merge'
81
82     node: master
83
84     project-type: freestyle
85
86     logrotate:
87         daysToKeep: 30
88         numToKeep: 10
89         artifactDaysToKeep: -1
90         artifactNumToKeep: -1
91
92     parameters:
93         - project-parameter:
94             project: $GERRIT_PROJECT
95         - gerrit-parameter:
96             branch: 'master'
97
98     scm:
99         - gerrit-trigger-scm:
100             credentials-id: '{ssh-credentials}'
101             refspec: '$GERRIT_REFSPEC'
102             choosing-strategy: 'gerrit'
103
104     wrappers:
105         - ssh-agent-credentials:
106             user: '{ssh-credentials}'
107
108     triggers:
109         - gerrit:
110             trigger-on:
111                 - change-merged-event
112                 - comment-added-contains-event:
113                     comment-contains-value: 'remerge'
114             projects:
115               - project-compare-type: 'REG_EXP'
116                 project-pattern: 'vswitchperf|yardstick|apex|availability|bottlenecks|compass4nfv|conductor|copper|doctor|dovetail|dpacc|escalator|fastpathmetrics|fuel|inspector|ipv6|joid|kvmfornfv|lsoapi|moon|movie|multisite|onosfw|ovsnfv|parser|prediction|promise|qtip|releng|rs|sdnvpn|sfc|vnf_forwarding_graph|enfv|pinpoint|pharos|opnfvdocs'
117                 branches:
118                   - branch-compare-type: 'ANT'
119                     branch-pattern: '**/master'
120                 file-paths:
121                   - compare-type: ANT
122                     pattern: 'docs/**'
123
124     builders:
125         - upload-merged-docs