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 - 'topoprocessing-verify-{stream}'
10 - 'topoprocessing-merge-{stream}'
11 - 'topoprocessing-daily-{stream}'
12 - 'topoprocessing-integration-{stream}'
13 - 'topoprocessing-sonar'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 project: 'topoprocessing'
25 # For the Job templates below replace instances of:
26 # PROJECT with your project name (eg. controller)
27 # MAVEN_GOALS with your maven goals to build
28 # MAVEN_OPTS with your maven options to build
31 name: 'topoprocessing-verify-{stream}'
33 # Job template for ODL verify jobs
35 # The purpose of this job template is to setup a ODL verify job
38 # stream: branch with - in place of / (eg. stable-helium)
39 # branch: branch (eg. stable/helium)
47 daysToKeep: '{build-days-to-keep}'
48 numToKeep: '{build-num-to-keep}'
49 artifactDaysToKeep: '{build-artifact-days-to-keep}'
50 artifactNumToKeep: '{build-artifact-num-to-keep}'
60 credentials-id: '{ssh-credentials}'
61 refspec: '$GERRIT_REFSPEC'
62 choosing-strategy: 'gerrit'
66 - ssh-agent-credentials:
67 user: '{ssh-credentials}'
70 - gerrit-trigger-patch-submitted:
71 name: 'topoprocessing'
75 - wipe-org-opendaylight-repo
80 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
81 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
82 settings: '{topoprocessing-settings}'
83 global-settings: '{odl-global-settings}'
84 ignore-upstream-changes: true
87 - jacoco-nojava-workaround
91 email-prefix: '[topoprocessing]'
95 name: 'topoprocessing-merge-{stream}'
97 # Job template for ODL merge jobs
99 # The purpose of this job template is to setup a ODL merge job
100 # and deploy artifacts to Nexus.
102 # Required Variables:
103 # stream: branch with - in place of / (eg. stable-helium)
104 # branch: branch (eg. stable/helium)
111 daysToKeep: '{build-days-to-keep}'
112 numToKeep: '{build-num-to-keep}'
113 artifactDaysToKeep: '{build-artifact-days-to-keep}'
114 artifactNumToKeep: '{build-artifact-num-to-keep}'
121 - gerrit-trigger-scm:
122 credentials-id: '{ssh-credentials}'
124 choosing-strategy: 'default'
128 - ssh-agent-credentials:
129 user: '{ssh-credentials}'
132 - gerrit-trigger-patch-merged:
133 name: 'topoprocessing'
137 - wipe-org-opendaylight-repo
140 maven-name: '{mvn32}'
142 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
143 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
144 settings: '{topoprocessing-settings}'
145 global-settings: '{odl-global-settings}'
148 - jacoco-nojava-workaround
152 - email-notification:
153 email-prefix: '[topoprocessing]'
157 deploy-unstable: false
161 name: 'topoprocessing-daily-{stream}'
163 # Job template for daily builders
165 # The purpose of this job template is to setup a daily/nightly
166 # builder and pushes to Sonar analysis.
168 # Required Variables:
169 # stream: branch with - in place of / (eg. stable-helium)
170 # branch: branch (eg. stable/helium)
177 daysToKeep: '{build-days-to-keep}'
178 numToKeep: '{build-num-to-keep}'
179 artifactDaysToKeep: '{build-artifact-days-to-keep}'
180 artifactNumToKeep: '{build-artifact-num-to-keep}'
188 credentials-id: '{ssh-credentials}'
194 - ssh-agent-credentials:
195 user: '{ssh-credentials}'
201 - wipe-org-opendaylight-repo
204 maven-name: '{mvn32}'
206 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
207 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
208 settings: '{topoprocessing-settings}'
209 global-settings: '{odl-global-settings}'
212 - jacoco-nojava-workaround
215 - email-notification:
216 email-prefix: '[topoprocessing]'
220 name: 'topoprocessing-integration-{stream}'
223 # Job template for ODL merge jobs
225 # The purpose of this job template is to setup a ODL merge job
226 # and deploy artifacts to Nexus.
228 # Required Variables:
229 # stream: branch with - in place of / (eg. stable-helium)
230 # branch: branch (eg. stable/helium)
237 daysToKeep: '{build-days-to-keep}'
238 numToKeep: '{build-num-to-keep}'
239 artifactDaysToKeep: '{build-artifact-days-to-keep}'
240 artifactNumToKeep: '{build-artifact-num-to-keep}'
248 credentials-id: '{ssh-credentials}'
254 - ssh-agent-credentials:
255 user: '{ssh-credentials}'
259 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
263 - wipe-org-opendaylight-repo
266 maven-name: '{mvn32}'
268 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
269 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
270 settings: '{topoprocessing-settings}'
271 global-settings: '{odl-global-settings}'
274 - jacoco-nojava-workaround
277 - email-notification:
278 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
282 name: 'topoprocessing-sonar'
291 artifactDaysToKeep: '1'
292 artifactNumToKeep: '1'
300 credentials-id: '{ssh-credentials}'
306 - ssh-agent-credentials:
307 user: '{ssh-credentials}'
313 maven-name: '{mvn32}'
315 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
316 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
317 settings: '{topoprocessing-settings}'
318 global-settings: '{odl-global-settings}'
321 - jacoco-nojava-workaround
326 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
327 - email-notification:
328 email-prefix: '[topoprocessing]'