Migrate all jobs to use new mvn shortnames
[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-prefix: '[opflex]'
86         - opendaylight-infra-shiplogs:
87             maven-version: 'mvn33'
88
89 - job-template:
90     name: 'opflex-merge-{stream}'
91
92     node: centos7-java-builder-2c-8g
93     jdk: '{jdk}'
94
95     logrotate:
96         daysToKeep: '{build-days-to-keep}'
97         numToKeep: '{build-num-to-keep}'
98         artifactDaysToKeep: '{build-artifact-days-to-keep}'
99         artifactNumToKeep: '{build-artifact-num-to-keep}'
100
101     parameters:
102         - opendaylight-infra-parameters:
103             project: '{project}'
104             branch: '{branch}'
105             refspec: 'refs/heads/{branch}'
106             artifacts: '{archive-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             name: 'opflex'
120             branch: '{branch}'
121
122     builders:
123         - opflex-build:
124             mvn33: 'mvn33'
125             stream: '{stream}'
126
127     publishers:
128         - email-notification:
129             email-prefix: '[opflex]'
130         - opendaylight-infra-shiplogs:
131             maven-version: 'mvn33'