073a49077e4b844a8fcfc1fd97c8a23d809f4e23
[releng/builder.git] / jjb / opflex / opflex-custom.yaml
1 ---
2 - project:
3     name: opflex
4     jobs:
5       - 'opflex-verify-{stream}'
6       - 'opflex-merge-{stream}'
7
8     stream:
9       - sodium:
10           branch: 'master'
11           libuv-version: '1.8.0'
12           rapidjson-version: '1.0.2'
13           openvswitch-version: '2.6.0'
14       - neon:
15           branch: 'stable/neon'
16           libuv-version: '1.8.0'
17           rapidjson-version: '1.0.2'
18           openvswitch-version: '2.6.0'
19       - fluorine:
20           branch: 'stable/fluorine'
21           libuv-version: '1.8.0'
22           rapidjson-version: '1.0.2'
23           openvswitch-version: '2.6.0'
24       - oxygen:
25           branch: 'stable/oxygen'
26           libuv-version: '1.8.0'
27           rapidjson-version: '1.0.2'
28           openvswitch-version: '2.6.0'
29
30     project: 'opflex'
31     archive-artifacts: '**/*.tar.gz'
32     jdk: 'openjdk8'
33
34 - job-template:
35     name: 'opflex-verify-{stream}'
36
37     project-type: freestyle
38     node: centos7-builder-2c-8g
39     concurrent: true
40     jdk: '{java-version}'
41
42     properties:
43       - opendaylight-infra-properties:
44           build-days-to-keep: '{build-days-to-keep}'
45
46     parameters:
47       - opendaylight-infra-parameters:
48           os-cloud: '{os-cloud}'
49           project: '{project}'
50           branch: '{branch}'
51           refspec: 'refs/heads/{branch}'
52           artifacts: '{archive-artifacts}'
53       - string:
54           name: LIBUV_VERSION
55           # yamllint disable-line rule:line-length
56           default: '{libuv-version}'
57           description: 'libuv version'
58       - string:
59           name: RAPIDJSON_VERSION
60           # yamllint disable-line rule:line-length
61           default: '{rapidjson-version}'
62           description: 'rapidjson version'
63       - string:
64           name: OPENVSWITCH_VERSION
65           # yamllint disable-line rule:line-length
66           default: '{openvswitch-version}'
67           description: 'openvswitch-version'
68
69     scm:
70       - gerrit-trigger-scm:
71           refspec: '$GERRIT_REFSPEC'
72           choosing-strategy: 'gerrit'
73
74     wrappers:
75       - opendaylight-infra-wrappers:
76           build-timeout: '{build-timeout}'
77
78     triggers:
79       - gerrit-trigger-patch-submitted:
80           gerrit-server-name: '{gerrit-server-name}'
81           project: '{project}'
82           branch: '{branch}'
83           files: '**'
84           forbidden-files: ''
85
86     builders:
87       - opflex-build:
88           mvn33: 'mvn33'
89           stream: '{stream}'
90
91     publishers:
92       - email-notification:
93           email-recipients: '{email-recipients}'
94           email-prefix: '[opflex]'
95       - lf-infra-publish
96
97 - job-template:
98     name: 'opflex-merge-{stream}'
99
100     node: centos7-builder-2c-8g
101     jdk: '{java-version}'
102
103     properties:
104       - opendaylight-infra-properties:
105           build-days-to-keep: '{build-days-to-keep}'
106
107     parameters:
108       - opendaylight-infra-parameters:
109           os-cloud: '{os-cloud}'
110           project: '{project}'
111           branch: '{branch}'
112           refspec: 'refs/heads/{branch}'
113           artifacts: ''
114       - string:
115           name: LIBUV_VERSION
116           # yamllint disable-line rule:line-length
117           default: '{libuv-version}'
118           description: 'libuv version'
119       - string:
120           name: RAPIDJSON_VERSION
121           # yamllint disable-line rule:line-length
122           default: '{rapidjson-version}'
123           description: 'rapidjson version'
124       - string:
125           name: OPENVSWITCH_VERSION
126           # yamllint disable-line rule:line-length
127           default: '{openvswitch-version}'
128           description: 'openvswitch version'
129
130     scm:
131       - gerrit-trigger-scm:
132           refspec: ''
133           choosing-strategy: 'default'
134
135     wrappers:
136       - opendaylight-infra-wrappers:
137           build-timeout: '{build-timeout}'
138
139     triggers:
140       - gerrit-trigger-patch-merged:
141           gerrit-server-name: '{gerrit-server-name}'
142           name: 'opflex'
143           branch: '{branch}'
144           files: '**'
145           forbidden-files: ''
146
147     builders:
148       - opflex-build:
149           mvn33: 'mvn33'
150           stream: '{stream}'
151
152     publishers:
153       - email-notification:
154           email-recipients: '{email-recipients}'
155           email-prefix: '[opflex]'
156       - lf-infra-publish