Add stable/lithium jobs for lispflowmapping
[releng/builder.git] / jjb / lispflowmapping / lispflowmapping-verify.yaml
1 - project:
2     name: lispflowmapping-verify
3     jobs:
4         - 'lispflowmapping-verify-{stream}'
5         - 'lispflowmapping-verify-stable-helium'
6
7
8     # stream:    branch with - in place of / (eg. stable-helium)
9     # branch:    branch (eg. stable/helium)
10     stream:
11         - master:
12             branch: 'master'
13         - stable-lithium:
14             branch: 'stable/lithium'
15
16     project: 'lispflowmapping'
17
18 # For the Job templates below replace instances of:
19 # PROJECT with your project name (eg. controller)
20 # MAVEN_GOALS with your maven goals to build
21 # MAVEN_OPTS with your maven options to build
22
23 - job-template:
24     name: 'lispflowmapping-verify-{stream}'
25
26     # Job template for ODL verify jobs
27     #
28     # The purpose of this job template is to setup a ODL verify job
29     #
30     # Required Variables:
31     #     stream:    branch with - in place of / (eg. stable-helium)
32     #     branch:    branch (eg. stable/helium)
33
34     project-type: matrix
35     node: matrix_master
36     concurrent: true
37
38     axes:
39         - axis:
40             type: slave
41             name: nodes
42             values:
43                 - dynamic_verify
44         - axis:
45             type: jdk
46             values:
47                 - openjdk7
48                 - openjdk8
49
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         - project-parameter:
59             project: '{project}'
60         - gerrit-parameter:
61             branch: '{branch}'
62
63     scm:
64         - gerrit-trigger-scm:
65             credentials-id: '{ssh-credentials}'
66             refspec: '$GERRIT_REFSPEC'
67             choosing-strategy: 'gerrit'
68
69     wrappers:
70         - build-timeout
71         - ssh-agent-credentials:
72             users:
73                 - '{ssh-credentials}'
74
75     triggers:
76         - gerrit-trigger-patch-submitted:
77             name: 'lispflowmapping'
78             branch: '{branch}'
79
80     builders:
81         - wipe-org-opendaylight-repo
82         - maven-target:
83             maven-version: '{mvn32}'
84             pom: 'pom.xml'
85             goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
86             java-opts:
87                 - '-Xmx1024m -XX:MaxPermSize=256m'
88             settings: '{lispflowmapping-settings}'
89             global-settings: '{odl-global-settings}'
90         - jacoco-nojava-workaround
91
92     publishers:
93         - findbugs
94         - email-notification:
95             email-prefix: '[lispflowmapping]'
96         - jacoco-report
97
98 - job-template:
99     name: 'lispflowmapping-verify-stable-helium'
100
101     # Job template for ODL verify jobs
102     #
103     # The purpose of this job template is to setup a ODL verify job
104     #
105     # Required Variables:
106     #     stream:    branch with - in place of / (eg. stable-helium)
107     #     branch:    branch (eg. stable/helium)
108
109     project-type: matrix
110     node: matrix_master
111     concurrent: true
112
113     axes:
114         - axis:
115             type: slave
116             name: nodes
117             values:
118                 - dynamic_verify
119         - axis:
120             type: jdk
121             values:
122                 - openjdk7
123
124
125     logrotate:
126         daysToKeep: '{build-days-to-keep}'
127         numToKeep: '{build-num-to-keep}'
128         artifactDaysToKeep: '{build-artifact-days-to-keep}'
129         artifactNumToKeep: '{build-artifact-num-to-keep}'
130
131     parameters:
132         - project-parameter:
133             project: '{project}'
134         - gerrit-parameter:
135             branch: 'stable/helium'
136
137     scm:
138         - gerrit-trigger-scm:
139             credentials-id: '{ssh-credentials}'
140             refspec: '$GERRIT_REFSPEC'
141             choosing-strategy: 'gerrit'
142
143     wrappers:
144         - build-timeout
145         - ssh-agent-credentials:
146             users:
147                 - '{ssh-credentials}'
148
149     triggers:
150         - gerrit-trigger-patch-submitted:
151             name: 'lispflowmapping'
152             branch: 'stable/helium'
153
154     builders:
155         - wipe-org-opendaylight-repo
156         - maven-target:
157             maven-version: '{mvn32}'
158             pom: 'pom.xml'
159             goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
160             java-opts:
161                 - '-Xmx1024m -XX:MaxPermSize=256m'
162             settings: '{lispflowmapping-settings}'
163             global-settings: '{odl-global-settings}'
164         - jacoco-nojava-workaround
165
166     publishers:
167         - findbugs
168         - email-notification:
169             email-prefix: '[lispflowmapping]'
170         - jacoco-report