Merge "BUG-2625: enable JDK8 verification for sfc"
[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         - beryllium:
13             branch: 'master'
14             jdk: openjdk7
15             jdks:
16                 - openjdk7
17
18     project: 'opflex'
19
20 - builder:
21     name: opflex-build
22     builders:
23       - maven-target:
24           maven-version: '{mvn33}'
25           pom: genie/pom.xml
26           goals: compile
27       - copyartifact:
28           project: opflex-libuv_tgz-{stream}
29           flatten: true
30       - copyartifact:
31           project: opflex-rapidjson_tgz-{stream}
32           flatten: true
33       - copyartifact:
34           project: opflex-openvswitch_tgz-{stream}
35           flatten: true
36       - shell:
37           !include-raw-escape include-raw-opflex-build.sh
38
39 - job-template:
40     name: 'opflex-verify-{stream}'
41
42     project-type: matrix
43     node: matrix_master
44     concurrent: true
45
46     axes:
47         - axis:
48             type: slave
49             name: nodes
50             values:
51                 - dynamic_verify
52         - axis:
53             type: jdk
54             values: '{obj:jdks}'
55
56     logrotate:
57         daysToKeep: '{build-days-to-keep}'
58         numToKeep: '{build-num-to-keep}'
59         artifactDaysToKeep: '{build-artifact-days-to-keep}'
60         artifactNumToKeep: '{build-artifact-num-to-keep}'
61
62     parameters:
63         - project-parameter:
64             project: '{project}'
65         - gerrit-parameter:
66             branch: '{branch}'
67         - gerrit-refspec-parameter:
68             refspec: ''
69
70     scm:
71         - gerrit-trigger-scm:
72             credentials-id: '{ssh-credentials}'
73             refspec: '$GERRIT_REFSPEC'
74             choosing-strategy: 'gerrit'
75
76     wrappers:
77         - build-timeout
78         - ssh-agent-credentials:
79             users:
80                 - '{ssh-credentials}'
81
82     triggers:
83         - gerrit-trigger-patch-submitted:
84             name: 'opflex'
85             branch: '{branch}'
86
87     builders:
88         - opflex-build:
89             mvn33: '{mvn33}'
90             stream: '{stream}'
91
92     publishers:
93         - email-notification:
94             email-prefix: '[opflex]'
95
96 - job-template:
97     name: 'opflex-merge-{stream}'
98
99     node: dynamic_merge
100     jdk: '{jdk}'
101
102     logrotate:
103         daysToKeep: '{build-days-to-keep}'
104         numToKeep: '{build-num-to-keep}'
105         artifactDaysToKeep: '{build-artifact-days-to-keep}'
106         artifactNumToKeep: '{build-artifact-num-to-keep}'
107
108     parameters:
109         - project-parameter:
110             project: '{project}'
111         - gerrit-parameter:
112             branch: '{branch}'
113
114     scm:
115         - gerrit-trigger-scm:
116             credentials-id: '{ssh-credentials}'
117             refspec: ''
118             choosing-strategy: 'default'
119
120     wrappers:
121         - build-timeout
122         - ssh-agent-credentials:
123             users:
124                 - '{ssh-credentials}'
125
126     triggers:
127         - gerrit-trigger-patch-merged:
128             name: 'opflex'
129             branch: '{branch}'
130
131     builders:
132         - opflex-build:
133             mvn33: '{mvn33}'
134             stream: '{stream}'
135
136     publishers:
137         - email-notification:
138             email-prefix: '[opflex]'
139         - archive:
140             artifacts: '**/*.tar.gz'