docs: adds genesisreq to docs merge job targets
[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-{stream}'
12         - 'opnfv-docs-merge-{stream}'
13
14     stream:
15         - master:
16             branch: '{stream}'
17             gs-pathname: ''
18         - brahmaputra:
19             branch: 'stable/{stream}'
20             gs-pathname: '/{stream}'
21
22 ########################
23 # job templates
24 ########################
25
26 - job-template:
27     name: 'opnfv-docs-verify-{stream}'
28
29     parameters:
30         - project-parameter:
31             project: $GERRIT_PROJECT
32         - gerrit-parameter:
33             branch: '{branch}'
34
35     scm:
36         - gerrit-trigger-scm:
37             credentials-id: '{ssh-credentials}'
38             refspec: '$GERRIT_REFSPEC'
39             choosing-strategy: 'gerrit'
40
41     triggers:
42         - gerrit:
43             trigger-on:
44                 - patchset-created-event:
45                     exclude-drafts: 'false'
46                     exclude-trivial-rebase: 'false'
47                     exclude-no-code-change: 'false'
48                 - draft-published-event
49                 - comment-added-contains-event:
50                     comment-contains-value: 'recheck'
51                 - comment-added-contains-event:
52                     comment-contains-value: 'reverify'
53             projects:
54               - project-compare-type: 'REG_EXP'
55 #Left out arno projects oscar|octopus|functest|genesis
56                 project-pattern: 'vswitchperf|apex|availability|bottlenecks|compass4nfv|conductor|copper|doctor|dovetail|dpacc|escalator|fastpathmetrics|fuel|inspector|ipv6|joid|kvmfornfv|lsoapi|moon|movie|multisite|octopus|onosfw|ovsnfv|parser|prediction|promise|qtip|releng|rs|sdnvpn|sfc|vnf_forwarding_graph|enfv|pinpoint|pharos|cperf|functest|genesisreq'
57                 branches:
58                   - branch-compare-type: 'ANT'
59                     branch-pattern: '**/{branch}'
60                 file-paths:
61                   - compare-type: ANT
62                     pattern: 'docs/**'
63
64     builders:
65         - upload-review-docs
66
67 - job-template:
68     name: 'opnfv-docs-merge-{stream}'
69
70     parameters:
71         - project-parameter:
72             project: $GERRIT_PROJECT
73         - gerrit-parameter:
74             branch: '{branch}'
75         - string:
76             name: GS_URL
77             default: '$GS_BASE{gs-pathname}'
78             description: "Directory where the build artifact will be located upon the completion     of the build."
79
80     scm:
81         - gerrit-trigger-scm:
82             credentials-id: '{ssh-credentials}'
83             refspec: '$GERRIT_REFSPEC'
84             choosing-strategy: 'gerrit'
85
86     triggers:
87         - gerrit:
88             trigger-on:
89                 - change-merged-event
90                 - comment-added-contains-event:
91                     comment-contains-value: 'remerge'
92             projects:
93               - project-compare-type: 'REG_EXP'
94                 project-pattern: 'vswitchperf|apex|availability|bottlenecks|compass4nfv|conductor|copper|doctor|dovetail|dpacc|escalator|fastpathmetrics|fuel|inspector|ipv6|joid|kvmfornfv|lsoapi|moon|movie|multisite|octopus|onosfw|ovsnfv|parser|prediction|promise|qtip|releng|rs|sdnvpn|sfc|vnf_forwarding_graph|enfv|pinpoint|pharos|cperf|functest|genesisreq'
95                 branches:
96                   - branch-compare-type: 'ANT'
97                     branch-pattern: '**/{branch}'
98                 file-paths:
99                   - compare-type: ANT
100                     pattern: 'docs/**'
101
102     builders:
103         - upload-merged-docs