Merge "Fix for Pike/Queens Jobs"
[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       - nitrogen:
20           branch: 'stable/nitrogen'
21           libuv-version: '1.8.0'
22           rapidjson-version: '1.0.2'
23           openvswitch-version: '2.6.0'
24       - carbon:
25           branch: 'stable/carbon'
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
85     builders:
86       - opflex-build:
87           mvn33: 'mvn33'
88           stream: '{stream}'
89
90     publishers:
91       - email-notification:
92           email-recipients: '{email-recipients}'
93           email-prefix: '[opflex]'
94       - lf-infra-publish
95
96 - job-template:
97     name: 'opflex-merge-{stream}'
98
99     node: centos7-builder-2c-8g
100     jdk: '{java-version}'
101
102     properties:
103       - opendaylight-infra-properties:
104           build-days-to-keep: '{build-days-to-keep}'
105
106     parameters:
107       - opendaylight-infra-parameters:
108           os-cloud: '{os-cloud}'
109           project: '{project}'
110           branch: '{branch}'
111           refspec: 'refs/heads/{branch}'
112           artifacts: ''
113       - string:
114           name: LIBUV_VERSION
115           # yamllint disable-line rule:line-length
116           default: '{libuv-version}'
117           description: 'libuv version'
118       - string:
119           name: RAPIDJSON_VERSION
120           # yamllint disable-line rule:line-length
121           default: '{rapidjson-version}'
122           description: 'rapidjson version'
123       - string:
124           name: OPENVSWITCH_VERSION
125           # yamllint disable-line rule:line-length
126           default: '{openvswitch-version}'
127           description: 'openvswitch version'
128
129     scm:
130       - gerrit-trigger-scm:
131           refspec: ''
132           choosing-strategy: 'default'
133
134     wrappers:
135       - opendaylight-infra-wrappers:
136           build-timeout: '{build-timeout}'
137
138     triggers:
139       - gerrit-trigger-patch-merged:
140           gerrit-server-name: '{gerrit-server-name}'
141           name: 'opflex'
142           branch: '{branch}'
143
144     builders:
145       - opflex-build:
146           mvn33: 'mvn33'
147           stream: '{stream}'
148
149     publishers:
150       - email-notification:
151           email-recipients: '{email-recipients}'
152           email-prefix: '[opflex]'
153       - lf-infra-publish