Merge "Add unique ID to vm hostnames"
[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           jdk: 'openjdk8'
12       - nitrogen:
13           branch: 'stable/nitrogen'
14           jdk: openjdk8
15       - carbon:
16           branch: 'stable/carbon'
17           jdk: openjdk8
18       - boron:
19           branch: 'stable/boron'
20           jdk: openjdk8
21
22     project: 'opflex'
23     archive-artifacts: '**/*.tar.gz'
24
25 - builder:
26     name: opflex-build
27     builders:
28       - maven-target:
29           maven-version: 'mvn33'
30           pom: genie/pom.xml
31           goals: compile
32       - copyartifact:
33           project: opflex-libuv_tgz-{stream}
34           flatten: true
35       - copyartifact:
36           project: opflex-rapidjson_tgz-{stream}
37           flatten: true
38       - copyartifact:
39           project: opflex-openvswitch_tgz-{stream}
40           flatten: true
41       - shell: !include-raw-escape: opflex-build.sh
42
43 - job-template:
44     name: 'opflex-verify-{stream}'
45
46     project-type: freestyle
47     node: centos7-java-builder-2c-8g
48     concurrent: true
49     jdk: '{jdk}'
50
51     properties:
52       - opendaylight-infra-properties:
53           build-days-to-keep: '{build-days-to-keep}'
54
55     parameters:
56       - opendaylight-infra-parameters:
57           os-cloud: '{os-cloud}'
58           project: '{project}'
59           branch: '{branch}'
60           refspec: 'refs/heads/{branch}'
61           artifacts: '{archive-artifacts}'
62
63     scm:
64       - gerrit-trigger-scm:
65           refspec: '$GERRIT_REFSPEC'
66           choosing-strategy: 'gerrit'
67
68     wrappers:
69       - opendaylight-infra-wrappers:
70           build-timeout: '{build-timeout}'
71
72     triggers:
73       - gerrit-trigger-patch-submitted:
74           server: '{server-name}'
75           project: '{project}'
76           branch: '{branch}'
77           files: '**'
78
79     builders:
80       - opflex-build:
81           mvn33: 'mvn33'
82           stream: '{stream}'
83
84     publishers:
85       - email-notification:
86           email-recipients: '{email-recipients}'
87           email-prefix: '[opflex]'
88       - lf-infra-publish
89
90 - job-template:
91     name: 'opflex-merge-{stream}'
92
93     node: centos7-java-builder-2c-8g
94     jdk: '{jdk}'
95
96     properties:
97       - opendaylight-infra-properties:
98           build-days-to-keep: '{build-days-to-keep}'
99
100     parameters:
101       - opendaylight-infra-parameters:
102           os-cloud: '{os-cloud}'
103           project: '{project}'
104           branch: '{branch}'
105           refspec: 'refs/heads/{branch}'
106           artifacts: ''
107
108     scm:
109       - gerrit-trigger-scm:
110           refspec: ''
111           choosing-strategy: 'default'
112
113     wrappers:
114       - opendaylight-infra-wrappers:
115           build-timeout: '{build-timeout}'
116
117     triggers:
118       - gerrit-trigger-patch-merged:
119           server-name: '{server-name}'
120           name: 'opflex'
121           branch: '{branch}'
122
123     builders:
124       - opflex-build:
125           mvn33: 'mvn33'
126           stream: '{stream}'
127
128     publishers:
129       - email-notification:
130           email-recipients: '{email-recipients}'
131           email-prefix: '[opflex]'
132       - lf-infra-publish