Disable Lithium jobs
[releng/builder.git] / jjb / releng-jobs.yaml
1 - project:
2     name: builder-jobs
3     jobs:
4         - 'builder-verify-jjb'
5         - 'builder-verify-python'
6         - 'builder-merge'
7         - 'builder-weekly'
8         - 'builder-check-poms'
9
10     project: 'releng/builder'
11
12 - job-template:
13     name: builder-verify-jjb
14     disabled: {disabled}
15     node: jjbuilder
16
17     project-type: freestyle
18
19     logrotate:
20         daysToKeep: 7
21
22     parameters:
23         - opendaylight-infra-parameters:
24             project: '{project}'
25             branch: 'master'
26             refspec: 'refs/heads/master'
27             artifacts: '{archive-artifacts}'
28
29     scm:
30         - gerrit-trigger-scm:
31             refspec: '$GERRIT_REFSPEC'
32             choosing-strategy: 'gerrit'
33
34     wrappers:
35         - opendaylight-infra-wrappers:
36             build-timeout: '{build-timeout}'
37
38     triggers:
39         - gerrit:
40             server-name: 'OpenDaylight'
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             projects:
50               - project-compare-type: 'ANT'
51                 project-pattern: 'releng/builder'
52                 branches:
53                   - branch-compare-type: 'ANT'
54                     branch-pattern: '**/master'
55                 file-paths:
56                     - compare-type: ANT
57                       pattern: jjb/**
58                     - compare-type: ANT
59                       pattern: jjb-templates/**
60
61     builders:
62         - opendaylight-infra-pre-builders
63         - shell: |
64             pip freeze
65             jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
66             gzip archives/job_output/*
67         - releng-check-unicode
68
69     publishers:
70         - email-notification:
71             email-prefix: '[releng]'
72         - archive-build:
73             maven-version: '{mvn33}'
74
75 - job-template:
76     name: builder-verify-python
77     disabled: {disabled}
78     node: centos7-java-builder-2c-8g
79
80     project-type: freestyle
81
82     logrotate:
83         daysToKeep: 7
84         numToKeep: 10
85         artifactDaysToKeep: -1
86         artifactNumToKeep: -1
87
88     parameters:
89         - opendaylight-infra-parameters:
90             project: '{project}'
91             branch: 'master'
92             refspec: 'refs/heads/master'
93             artifacts: '{archive-artifacts}'
94
95     scm:
96         - gerrit-trigger-scm:
97             refspec: '$GERRIT_REFSPEC'
98             choosing-strategy: 'gerrit'
99
100     wrappers:
101         - opendaylight-infra-wrappers:
102             build-timeout: '{build-timeout}'
103
104     triggers:
105         - gerrit:
106             server-name: 'OpenDaylight'
107             trigger-on:
108                 - patchset-created-event:
109                     exclude-drafts: 'false'
110                     exclude-trivial-rebase: 'false'
111                     exclude-no-code-change: 'false'
112                 - draft-published-event
113                 - comment-added-contains-event:
114                     comment-contains-value: 'recheck'
115             projects:
116               - project-compare-type: 'ANT'
117                 project-pattern: 'releng/builder'
118                 branches:
119                   - branch-compare-type: 'ANT'
120                     branch-pattern: '**/master'
121                 file-paths:
122                     - compare-type: ANT
123                       pattern: scripts/**
124
125
126     builders:
127         - opendaylight-infra-pre-builders
128         - shell: |
129             virtualenv $WORKSPACE/venv
130             source $WORKSPACE/venv/bin/activate
131             pip install --upgrade pip
132             pip freeze
133             pip install flake8
134             flake8 scripts/
135
136     publishers:
137         - email-notification:
138             email-prefix: '[releng]'
139         - archive-build:
140             maven-version: '{mvn33}'
141
142 - job-template:
143     name: 'builder-merge'
144     disabled: {disabled}
145     node: jjbuilder
146
147     # builder-merge job to run JJB update
148     #
149     # This job's purpose is to update all the JJB
150
151     project-type: freestyle
152
153     logrotate:
154         daysToKeep: 7
155         numToKeep: 3
156         artifactDaysToKeep: -1
157         artifactNumToKeep: -1
158
159     parameters:
160         - opendaylight-infra-parameters:
161             project: '{project}'
162             branch: 'master'
163             refspec: 'refs/heads/master'
164             artifacts: '{archive-artifacts}'
165
166     scm:
167         - gerrit-trigger-scm:
168             refspec: ''
169             choosing-strategy: 'default'
170
171     wrappers:
172         - opendaylight-infra-wrappers:
173             build-timeout: '{build-timeout}'
174
175     triggers:
176         - gerrit:
177             server-name: 'OpenDaylight'
178             trigger-on:
179                 - change-merged-event
180                 - comment-added-contains-event:
181                     comment-contains-value: 'remerge'
182             projects:
183               - project-compare-type: 'ANT'
184                 project-pattern: 'releng/builder'
185                 branches:
186                     - branch-compare-type: 'ANT'
187                       branch-pattern: '**/master'
188                 file-paths:
189                     - compare-type: ANT
190                       pattern: jjb/**
191                     - compare-type: ANT
192                       pattern: jjb-templates/**
193
194     builders:
195         - opendaylight-infra-pre-builders
196         - shell: |
197             pip freeze
198             jenkins-jobs --version
199             jenkins-jobs update --recursive --delete-old --workers 4 jjb/
200
201     publishers:
202         - email-notification:
203             email-prefix: '[releng]'
204         - archive-build:
205             maven-version: '{mvn33}'
206
207 - job-template:
208     name: 'builder-weekly'
209     disabled: true
210     node: jjbuilder
211
212     # builder-weekly job to run JJB update weekly
213     #
214     # This job's purpose is to update all the JJB on a weekly (Sunday)
215     # basis with --flush-cache enabled to ensure jobs are okay
216
217     project-type: freestyle
218
219     logrotate:
220         daysToKeep: 7
221         numToKeep: 3
222         artifactDaysToKeep: -1
223         artifactNumToKeep: -1
224
225     parameters:
226         - opendaylight-infra-parameters:
227             project: '{project}'
228             branch: 'master'
229             refspec: 'refs/heads/master'
230             artifacts: '{archive-artifacts}'
231
232     scm:
233         - git-scm:
234             branch: 'master'
235
236     wrappers:
237         - opendaylight-infra-wrappers:
238             build-timeout: '{build-timeout}'
239
240     triggers:
241         - timed: 'H H * * 0'
242
243     builders:
244         - opendaylight-infra-pre-builders
245         - shell: |
246             jenkins-jobs --flush-cache update --recursive jjb/
247
248     publishers:
249         - email-notification:
250             email-prefix: '[releng]'
251         - archive-build:
252             maven-version: '{mvn33}'
253
254 - job-template:
255     name: builder-check-poms
256     disabled: {disabled}
257     node: centos7-java-builder-2c-8g
258
259     project-type: freestyle
260
261     logrotate:
262         daysToKeep: 1
263         numToKeep: 1
264         artifactDaysToKeep: -1
265         artifactNumToKeep: -1
266
267     parameters:
268         - opendaylight-infra-parameters:
269             project: '{project}'
270             branch: 'master'
271             refspec: 'refs/heads/master'
272             artifacts: '{archive-artifacts}'
273
274     wrappers:
275         - opendaylight-infra-wrappers:
276             build-timeout: '{build-timeout}'
277
278     triggers:
279         - timed: 'H H * * 1'
280
281     builders:
282         - opendaylight-infra-pre-builders
283         - shell:
284             !include-raw-escape:
285                 - include-raw-check-poms.sh
286
287     publishers:
288         - email-notification:
289             email-prefix: '[releng]'
290         - archive-build:
291             maven-version: '{mvn33}'