refactor email recipients to parameter with default value
[releng/builder.git] / jjb / opflex / opflex-custom.yaml
1 - project:
2     name: opflex
3     jobs:
4         - 'opflex-verify-{stream}'
5         - 'opflex-merge-{stream}'
6 #        - 'opflex-daily-{stream}'
7 #        - 'opflex-distribution-{stream}'
8
9     stream:
10         - carbon:
11             branch: 'master'
12             jdk: openjdk8
13         - boron:
14             branch: 'stable/boron'
15             jdk: openjdk8
16         - beryllium:
17             branch: 'stable/beryllium'
18             jdk: openjdk8
19
20     project: 'opflex'
21     archive-artifacts: '**/*.tar.gz'
22
23 - builder:
24     name: opflex-build
25     builders:
26       - maven-target:
27           maven-version: 'mvn33'
28           pom: genie/pom.xml
29           goals: compile
30       - copyartifact:
31           project: opflex-libuv_tgz-{stream}
32           flatten: true
33       - copyartifact:
34           project: opflex-rapidjson_tgz-{stream}
35           flatten: true
36       - copyartifact:
37           project: opflex-openvswitch_tgz-{stream}
38           flatten: true
39       - shell:
40           !include-raw-escape:
41             - 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     logrotate:
52         daysToKeep: '{build-days-to-keep}'
53         numToKeep: '{build-num-to-keep}'
54         artifactDaysToKeep: '{build-artifact-days-to-keep}'
55         artifactNumToKeep: '{build-artifact-num-to-keep}'
56
57     parameters:
58         - opendaylight-infra-parameters:
59             project: '{project}'
60             branch: '{branch}'
61             refspec: 'refs/heads/{branch}'
62             artifacts: '{archive-artifacts}'
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             name: 'opflex'
76             branch: '{branch}'
77
78     builders:
79         - opflex-build:
80             mvn33: 'mvn33'
81             stream: '{stream}'
82
83     publishers:
84         - email-notification:
85             email-recipients: '{email-recipients}'
86             email-prefix: '[opflex]'
87         - opendaylight-infra-shiplogs:
88             maven-version: 'mvn33'
89
90 - job-template:
91     name: 'opflex-merge-{stream}'
92
93     node: centos7-java-builder-2c-8g
94     jdk: '{jdk}'
95
96     logrotate:
97         daysToKeep: '{build-days-to-keep}'
98         numToKeep: '{build-num-to-keep}'
99         artifactDaysToKeep: '{build-artifact-days-to-keep}'
100         artifactNumToKeep: '{build-artifact-num-to-keep}'
101
102     parameters:
103         - opendaylight-infra-parameters:
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             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         - opendaylight-infra-shiplogs:
133             maven-version: 'mvn33'