Merge "Remove the {project}-verify-{stream} job type"
[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:    release stream (eg. stable-lithium or beryllium)
10     # branch:    git branch (eg. stable/lithium or master)
11     stream:
12         - boron:
13             branch: 'master'
14             jdk: openjdk7
15         - beryllium:
16             branch: 'stable/beryllium'
17             jdk: openjdk7
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:
39           !include-raw-escape:
40             - include-raw-opflex-build.sh
41
42 - job-template:
43     name: 'opflex-verify-{stream}'
44
45     project-type: freestyle
46     node: centos7-java-builder-2c-8g
47     concurrent: true
48     jdk: '{jdk}'
49
50     logrotate:
51         daysToKeep: '{build-days-to-keep}'
52         numToKeep: '{build-num-to-keep}'
53         artifactDaysToKeep: '{build-artifact-days-to-keep}'
54         artifactNumToKeep: '{build-artifact-num-to-keep}'
55
56     parameters:
57         - opendaylight-infra-parameters:
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             name: 'opflex'
75             branch: '{branch}'
76
77     builders:
78         - opflex-build:
79             mvn33: '{mvn33}'
80             stream: '{stream}'
81
82     publishers:
83         - email-notification:
84             email-prefix: '[opflex]'
85         - archive-build:
86             maven-version: '{mvn33}'
87
88 - job-template:
89     name: 'opflex-merge-{stream}'
90
91     node: centos7-java-builder-2c-8g
92     jdk: '{jdk}'
93
94     logrotate:
95         daysToKeep: '{build-days-to-keep}'
96         numToKeep: '{build-num-to-keep}'
97         artifactDaysToKeep: '{build-artifact-days-to-keep}'
98         artifactNumToKeep: '{build-artifact-num-to-keep}'
99
100     parameters:
101         - opendaylight-infra-parameters:
102             project: '{project}'
103             branch: '{branch}'
104             refspec: 'refs/heads/{branch}'
105             artifacts: '{archive-artifacts}'
106
107     scm:
108         - gerrit-trigger-scm:
109             refspec: ''
110             choosing-strategy: 'default'
111
112     wrappers:
113         - opendaylight-infra-wrappers:
114             build-timeout: '{build-timeout}'
115
116     triggers:
117         - gerrit-trigger-patch-merged:
118             name: 'opflex'
119             branch: '{branch}'
120
121     builders:
122         - opflex-build:
123             mvn33: '{mvn33}'
124             stream: '{stream}'
125
126     publishers:
127         - email-notification:
128             email-prefix: '[opflex]'
129         - archive-build:
130             maven-version: '{mvn33}'