Merge "fix POD id type in API"
[releng.git] / jjb / genesis / genesis-docs.yml
1 # this is the job configuration for bgs
2 - project:
3
4     name: genesis-docs
5
6     jobs:
7         - 'genesis-merge-docs'
8         - 'genesis-verify-docs'
9
10     # stream:    branch with - in place of / (eg. stable-helium)
11     # branch:    branch (eg. stable/helium)
12     stream:
13         - master:
14             branch: 'master'
15
16     project: 'genesis'
17
18 ########################
19 # job templates
20 ########################
21 - job-template:
22     name: 'genesis-merge-docs'
23
24     node: gce-opnfv-docker-1
25
26     project-type: freestyle
27
28     logrotate:
29         daysToKeep: 30
30         numToKeep: 40
31         artifactDaysToKeep: -1
32         artifactNumToKeep: 5
33
34     parameters:
35         - project-parameter:
36             project: '{project}'
37         - gerrit-parameter:
38             branch: 'master'
39
40     scm:
41         - gerrit-trigger-scm:
42             credentials-id: '{ssh-credentials}'
43             refspec: ''
44             choosing-strategy: 'default'
45
46     wrappers:
47         - ssh-agent-credentials:
48             user: '{ssh-credentials}'
49
50     triggers:
51         - gerrit:
52             trigger-on:
53                 - change-merged-event
54                 - comment-added-contains-event:
55                     comment-contains-value: 'remerge'
56             projects:
57               - project-compare-type: 'ANT'
58                 project-pattern: 'genesis'
59                 branches:
60                     - branch-compare-type: 'ANT'
61                       branch-pattern: '**/master'
62                 file-paths:
63                     - compare-type: ANT
64                       pattern: 'common/docs/**'
65                     - compare-type: ANT
66                       pattern: '**/docs/**'
67                 forbidden-file-paths:
68                     - compare-type: ANT
69                       pattern: '**/build/**'
70                     - compare-type: ANT
71                       pattern: '**/ci/**'
72                     - compare-type: ANT
73                       pattern: '**/deploy/**'
74                     - compare-type: ANT
75                       pattern: '**/include/**'
76                     - compare-type: ANT
77                       pattern: '**/prototypes/**'
78
79     builders:
80         - shell:
81             !include-raw docu-build.sh
82
83 - job-template:
84     name: 'genesis-verify-docs'
85
86     node: gce-opnfv-docker-1
87
88     project-type: freestyle
89
90     logrotate:
91         daysToKeep: 30
92         numToKeep: 40
93         artifactDaysToKeep: -1
94         artifactNumToKeep: 5
95
96     parameters:
97         - project-parameter:
98             project: '{project}'
99         - gerrit-parameter:
100             branch: 'master'
101
102     scm:
103         - gerrit-trigger-scm:
104             credentials-id: '{ssh-credentials}'
105             refspec: '$GERRIT_REFSPEC'
106             choosing-strategy: 'gerrit'
107
108     wrappers:
109         - ssh-agent-credentials:
110             user: '{ssh-credentials}'
111
112     triggers:
113         - gerrit:
114             trigger-on:
115                 - patchset-created-event:
116                     exclude-drafts: 'false'
117                     exclude-trivial-rebase: 'false'
118                     exclude-no-code-change: 'false'
119                 - draft-published-event
120                 - comment-added-contains-event:
121                     comment-contains-value: 'recheck'
122                 - comment-added-contains-event:
123                     comment-contains-value: 'reverify'
124
125             projects:
126               - project-compare-type: 'ANT'
127                 project-pattern: 'genesis'
128                 branches:
129                     - branch-compare-type: 'ANT'
130                       branch-pattern: '**/master'
131                 file-paths:
132                     - compare-type: ANT
133                       pattern: 'common/docs/**'
134                     - compare-type: ANT
135                       pattern: '**/docs/**'
136                 forbidden-file-paths:
137                     - compare-type: ANT
138                       pattern: '**/build/**'
139                     - compare-type: ANT
140                       pattern: '**/ci/**'
141                     - compare-type: ANT
142                       pattern: '**/deploy/**'
143                     - compare-type: ANT
144                       pattern: '**/include/**'
145                     - compare-type: ANT
146                       pattern: '**/prototypes/**'
147
148     builders:
149         - shell:
150             !include-raw docu-build.sh
151