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 - 'odlparent-verify-{stream}'
10 - 'odlparent-merge-{stream}'
11 - 'odlparent-daily-{stream}'
12 - 'odlparent-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 branch: 'stable/helium'
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: 'odlparent-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:
76 - wipe-org-opendaylight-repo
81 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
82 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
83 settings: '{odlparent-settings}'
84 global-settings: '{odl-global-settings}'
85 ignore-upstream-changes: true
89 email-prefix: '[odlparent]'
93 name: 'odlparent-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:
135 - wipe-org-opendaylight-repo
138 maven-name: '{mvn32}'
140 goals: 'clean install -V -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: '{odlparent-settings}'
143 global-settings: '{odl-global-settings}'
146 - email-notification:
147 email-prefix: '[odlparent]'
151 deploy-unstable: false
155 name: 'odlparent-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 -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
201 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
202 settings: '{odlparent-settings}'
203 global-settings: '{odl-global-settings}'
207 - email-notification:
208 email-prefix: '[odlparent]'
212 name: 'odlparent-integration-{stream}'
215 # Job template for ODL merge jobs
217 # The purpose of this job template is to setup a ODL merge job
218 # and deploy artifacts to Nexus.
220 # Required Variables:
221 # stream: branch with - in place of / (eg. stable-helium)
222 # branch: branch (eg. stable/helium)
229 daysToKeep: '{build-days-to-keep}'
230 numToKeep: '{build-num-to-keep}'
231 artifactDaysToKeep: '{build-artifact-days-to-keep}'
232 artifactNumToKeep: '{build-artifact-num-to-keep}'
240 credentials-id: '{ssh-credentials}'
246 - ssh-agent-credentials:
247 user: '{ssh-credentials}'
251 jobs: 'odlparent-merge-{stream}'
255 - wipe-org-opendaylight-repo
258 maven-name: '{mvn32}'
260 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
261 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
262 settings: '{odlparent-settings}'
263 global-settings: '{odl-global-settings}'
266 - email-notification:
267 email-prefix: '[odlparent] [odlparent]'
271 deploy-unstable: false
275 name: 'odlparent-sonar'
284 artifactDaysToKeep: '1'
285 artifactNumToKeep: '1'
293 credentials-id: '{ssh-credentials}'
299 - ssh-agent-credentials:
300 user: '{ssh-credentials}'
306 maven-name: '{mvn32}'
308 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo -Dsonar'
309 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
310 settings: '{odlparent-settings}'
311 global-settings: '{odl-global-settings}'
316 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
317 - email-notification:
318 email-prefix: '[odlparent]'