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