Cleanup jjb files
[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:    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-{stream}'
26
27     parameters:
28         - project-parameter:
29             project: $GERRIT_PROJECT
30         - gerrit-parameter:
31             branch: 'master'
32
33     scm:
34         - gerrit-trigger-scm:
35             credentials-id: '{ssh-credentials}'
36             refspec: '$GERRIT_REFSPEC'
37             choosing-strategy: 'gerrit'
38
39     triggers:
40         - gerrit:
41             trigger-on:
42                 - patchset-created-event:
43                     exclude-drafts: 'false'
44                     exclude-trivial-rebase: 'false'
45                     exclude-no-code-change: 'false'
46                 - draft-published-event
47                 - comment-added-contains-event:
48                     comment-contains-value: 'recheck'
49                 - comment-added-contains-event:
50                     comment-contains-value: 'reverify'
51             projects:
52               - project-compare-type: 'REG_EXP'
53 #Left out arno projects oscar|octopus|functest|genesis
54                 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|cperf'
55                 branches:
56                   - branch-compare-type: 'ANT'
57                     branch-pattern: '**/master'
58                 file-paths:
59                   - compare-type: ANT
60                     pattern: 'docs/**'
61
62     builders:
63         - upload-review-docs
64
65 - job-template:
66     name: 'opnfv-docs-merge-{stream}'
67
68     parameters:
69         - project-parameter:
70             project: $GERRIT_PROJECT
71         - gerrit-parameter:
72             branch: 'master'
73
74     scm:
75         - gerrit-trigger-scm:
76             credentials-id: '{ssh-credentials}'
77             refspec: '$GERRIT_REFSPEC'
78             choosing-strategy: 'gerrit'
79
80     triggers:
81         - gerrit:
82             trigger-on:
83                 - change-merged-event
84                 - comment-added-contains-event:
85                     comment-contains-value: 'remerge'
86             projects:
87               - project-compare-type: 'REG_EXP'
88                 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|cperf'
89                 branches:
90                   - branch-compare-type: 'ANT'
91                     branch-pattern: '**/master'
92                 file-paths:
93                   - compare-type: ANT
94                     pattern: 'docs/**'
95
96     builders:
97         - upload-merged-docs