Merge "Update releng/global-jjb repository information"
[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       - nitrogen:
10           branch: 'master'
11           jdk: openjdk8
12       - carbon:
13           branch: 'stable/carbon'
14           jdk: openjdk8
15       - boron:
16           branch: 'stable/boron'
17           jdk: openjdk8
18       - beryllium:
19           branch: 'stable/beryllium'
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: include-raw-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       - opendaylight-infra-shiplogs:
89           maven-version: 'mvn33'
90
91 - job-template:
92     name: 'opflex-merge-{stream}'
93
94     node: centos7-java-builder-2c-8g
95     jdk: '{jdk}'
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: '{archive-artifacts}'
108
109     scm:
110       - gerrit-trigger-scm:
111           refspec: ''
112           choosing-strategy: 'default'
113
114     wrappers:
115       - opendaylight-infra-wrappers:
116           build-timeout: '{build-timeout}'
117
118     triggers:
119       - gerrit-trigger-patch-merged:
120           server-name: '{server-name}'
121           name: 'opflex'
122           branch: '{branch}'
123
124     builders:
125       - opflex-build:
126           mvn33: 'mvn33'
127           stream: '{stream}'
128
129     publishers:
130       - email-notification:
131           email-recipients: '{email-recipients}'
132           email-prefix: '[opflex]'
133       - opendaylight-infra-shiplogs:
134           maven-version: 'mvn33'