Branch cut for stable/silicon stream
[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       - phosphorus:
10           branch: "master"
11           libuv-version: "1.20.2"
12           rapidjson-version: "1.1.0"
13           openvswitch-version: "2.12.0"
14       - silicon:
15           branch: "stable/silicon"
16           libuv-version: "1.20.2"
17           rapidjson-version: "1.1.0"
18           openvswitch-version: "2.12.0"
19       - aluminium:
20           branch: "stable/aluminium"
21           libuv-version: "1.20.2"
22           rapidjson-version: "1.1.0"
23           openvswitch-version: "2.12.0"
24       - magnesium:
25           branch: "stable/magnesium"
26           libuv-version: "1.20.2"
27           rapidjson-version: "1.1.0"
28           openvswitch-version: "2.12.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:
58             LIBUV_VERSION
59             # yamllint disable-line rule:line-length
60           default: "{libuv-version}"
61           description: "libuv version"
62       - string:
63           name:
64             RAPIDJSON_VERSION
65             # yamllint disable-line rule:line-length
66           default: "{rapidjson-version}"
67           description: "rapidjson version"
68       - string:
69           name:
70             OPENVSWITCH_VERSION
71             # yamllint disable-line rule:line-length
72           default: "{openvswitch-version}"
73           description: "openvswitch-version"
74
75     scm:
76       - gerrit-trigger-scm:
77           refspec: "$GERRIT_REFSPEC"
78           choosing-strategy: "gerrit"
79
80     wrappers:
81       - opendaylight-infra-wrappers:
82           build-timeout: "{build-timeout}"
83
84     triggers:
85       - gerrit-trigger-patch-submitted:
86           gerrit-server-name: "{gerrit-server-name}"
87           project: "{project}"
88           branch: "{branch}"
89           files: "**"
90           forbidden-files: ""
91
92     builders:
93       - opflex-build:
94           mvn33: "mvn33"
95           stream: "{stream}"
96
97     publishers:
98       - email-notification:
99           email-recipients: "{email-recipients}"
100           email-prefix: "[opflex]"
101       - lf-infra-publish
102
103 - job-template:
104     name: "opflex-merge-{stream}"
105
106     node: centos7-builder-2c-8g
107     jdk: "{java-version}"
108
109     properties:
110       - opendaylight-infra-properties:
111           build-days-to-keep: "{build-days-to-keep}"
112
113     parameters:
114       - opendaylight-infra-parameters:
115           os-cloud: "{os-cloud}"
116           project: "{project}"
117           branch: "{branch}"
118           refspec: "refs/heads/{branch}"
119           artifacts: ""
120       - string:
121           name:
122             LIBUV_VERSION
123             # yamllint disable-line rule:line-length
124           default: "{libuv-version}"
125           description: "libuv version"
126       - string:
127           name:
128             RAPIDJSON_VERSION
129             # yamllint disable-line rule:line-length
130           default: "{rapidjson-version}"
131           description: "rapidjson version"
132       - string:
133           name:
134             OPENVSWITCH_VERSION
135             # yamllint disable-line rule:line-length
136           default: "{openvswitch-version}"
137           description: "openvswitch version"
138
139     scm:
140       - gerrit-trigger-scm:
141           refspec: ""
142           choosing-strategy: "default"
143
144     wrappers:
145       - opendaylight-infra-wrappers:
146           build-timeout: "{build-timeout}"
147
148     triggers:
149       - gerrit-trigger-patch-merged:
150           gerrit-server-name: "{gerrit-server-name}"
151           name: "opflex"
152           branch: "{branch}"
153           files: "**"
154           forbidden-files: ""
155
156     builders:
157       - opflex-build:
158           mvn33: "mvn33"
159           stream: "{stream}"
160
161     publishers:
162       - email-notification:
163           email-recipients: "{email-recipients}"
164           email-prefix: "[opflex]"
165       - lf-infra-publish