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