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