1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
5 # ODL Releng build templates
9 - 'lispflowmapping-verify-{stream}'
10 - 'lispflowmapping-merge-{stream}'
11 - 'lispflowmapping-daily-{stream}'
12 - 'lispflowmapping-integration-{stream}'
13 - 'lispflowmapping-sonar'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 branch: 'stable/helium'
23 project: 'lispflowmapping'
26 # For the Job templates below replace instances of:
27 # PROJECT with your project name (eg. controller)
28 # MAVEN_GOALS with your maven goals to build
29 # MAVEN_OPTS with your maven options to build
32 name: 'lispflowmapping-verify-{stream}'
34 # Job template for ODL verify jobs
36 # The purpose of this job template is to setup a ODL verify job
39 # stream: branch with - in place of / (eg. stable-helium)
40 # branch: branch (eg. stable/helium)
48 daysToKeep: '{build-days-to-keep}'
49 numToKeep: '{build-num-to-keep}'
50 artifactDaysToKeep: '{build-artifact-days-to-keep}'
51 artifactNumToKeep: '{build-artifact-num-to-keep}'
61 credentials-id: '{ssh-credentials}'
62 refspec: '$GERRIT_REFSPEC'
63 choosing-strategy: 'gerrit'
67 - ssh-agent-credentials:
68 user: '{ssh-credentials}'
71 - gerrit-trigger-patch-submitted:
72 name: 'lispflowmapping'
76 - wipe-org-opendaylight-repo
81 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo'
82 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
83 settings: '{lispflowmapping-settings}'
84 global-settings: '{odl-global-settings}'
85 ignore-upstream-changes: true
89 email-prefix: '[lispflowmapping]'
93 name: 'lispflowmapping-merge-{stream}'
95 # Job template for ODL merge jobs
97 # The purpose of this job template is to setup a ODL merge job
98 # and deploy artifacts to Nexus.
100 # Required Variables:
101 # stream: branch with - in place of / (eg. stable-helium)
102 # branch: branch (eg. stable/helium)
109 daysToKeep: '{build-days-to-keep}'
110 numToKeep: '{build-num-to-keep}'
111 artifactDaysToKeep: '{build-artifact-days-to-keep}'
112 artifactNumToKeep: '{build-artifact-num-to-keep}'
119 - gerrit-trigger-scm:
120 credentials-id: '{ssh-credentials}'
122 choosing-strategy: 'default'
126 - ssh-agent-credentials:
127 user: '{ssh-credentials}'
130 - gerrit-trigger-patch-merged:
131 name: 'lispflowmapping'
135 - wipe-org-opendaylight-repo
138 maven-name: '{mvn32}'
140 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
141 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
142 settings: '{lispflowmapping-settings}'
143 global-settings: '{odl-global-settings}'
146 - email-notification:
147 email-prefix: '[lispflowmapping]'
151 deploy-unstable: false
155 name: 'lispflowmapping-daily-{stream}'
157 # Job template for daily builders
159 # The purpose of this job template is to setup a daily/nightly
160 # builder and pushes to Sonar analysis.
162 # Required Variables:
163 # stream: branch with - in place of / (eg. stable-helium)
164 # branch: branch (eg. stable/helium)
171 daysToKeep: '{build-days-to-keep}'
172 numToKeep: '{build-num-to-keep}'
173 artifactDaysToKeep: '{build-artifact-days-to-keep}'
174 artifactNumToKeep: '{build-artifact-num-to-keep}'
182 credentials-id: '{ssh-credentials}'
188 - ssh-agent-credentials:
189 user: '{ssh-credentials}'
195 - wipe-org-opendaylight-repo
198 maven-name: '{mvn32}'
200 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo'
201 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
202 settings: '{lispflowmapping-settings}'
203 global-settings: '{odl-global-settings}'
206 - email-notification:
207 email-prefix: '[lispflowmapping]'
211 name: 'lispflowmapping-integration-{stream}'
214 # Job template for ODL merge jobs
216 # The purpose of this job template is to setup a ODL merge job
217 # and deploy artifacts to Nexus.
219 # Required Variables:
220 # stream: branch with - in place of / (eg. stable-helium)
221 # branch: branch (eg. stable/helium)
228 daysToKeep: '{build-days-to-keep}'
229 numToKeep: '{build-num-to-keep}'
230 artifactDaysToKeep: '{build-artifact-days-to-keep}'
231 artifactNumToKeep: '{build-artifact-num-to-keep}'
239 credentials-id: '{ssh-credentials}'
245 - ssh-agent-credentials:
246 user: '{ssh-credentials}'
250 jobs: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}'
254 - wipe-org-opendaylight-repo
257 maven-name: '{mvn32}'
259 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
260 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
261 settings: '{lispflowmapping-settings}'
262 global-settings: '{odl-global-settings}'
265 - email-notification:
266 email-prefix: '[lispflowmapping] [controller] [odlparent] [yangtools]'
270 deploy-unstable: false
274 name: 'lispflowmapping-sonar'
283 artifactDaysToKeep: '1'
284 artifactNumToKeep: '1'
292 credentials-id: '{ssh-credentials}'
298 - ssh-agent-credentials:
299 user: '{ssh-credentials}'
305 maven-name: '{mvn32}'
307 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo -Dsonar'
308 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
309 settings: '{lispflowmapping-settings}'
310 global-settings: '{odl-global-settings}'
315 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
316 - email-notification:
317 email-prefix: '[lispflowmapping]'