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