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'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 project: 'topoprocessing'
24 # For the Job templates below replace instances of:
25 # PROJECT with your project name (eg. controller)
26 # MAVEN_GOALS with your maven goals to build
27 # MAVEN_OPTS with your maven options to build
30 name: 'topoprocessing-verify-{stream}'
32 # Job template for ODL verify jobs
34 # The purpose of this job template is to setup a ODL verify job
37 # stream: branch with - in place of / (eg. stable-helium)
38 # branch: branch (eg. stable/helium)
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
59 credentials-id: '{ssh-credentials}'
60 refspec: '$GERRIT_REFSPEC'
61 choosing-strategy: 'gerrit'
65 - ssh-agent-credentials:
66 user: '{ssh-credentials}'
69 - gerrit-trigger-patch-submitted:
70 name: 'topoprocessing'
76 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
77 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
78 settings: '{topoprocessing-settings}'
79 global-settings: '{odl-global-settings}'
80 ignore-upstream-changes: true
84 email-prefix: '[topoprocessing]'
88 name: 'topoprocessing-merge-{stream}'
90 # Job template for ODL merge jobs
92 # The purpose of this job template is to setup a ODL merge job
93 # and deploy artifacts to Nexus.
96 # stream: branch with - in place of / (eg. stable-helium)
97 # branch: branch (eg. stable/helium)
104 daysToKeep: '{build-days-to-keep}'
105 numToKeep: '{build-num-to-keep}'
106 artifactDaysToKeep: '{build-artifact-days-to-keep}'
107 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - gerrit-trigger-scm:
115 credentials-id: '{ssh-credentials}'
117 choosing-strategy: 'default'
121 - ssh-agent-credentials:
122 user: '{ssh-credentials}'
125 - gerrit-trigger-patch-merged:
126 name: 'topoprocessing'
130 maven-name: '{mvn32}'
132 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
133 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
134 settings: '{topoprocessing-settings}'
135 global-settings: '{odl-global-settings}'
138 - email-notification:
139 email-prefix: '[topoprocessing]'
143 deploy-unstable: false
147 name: 'topoprocessing-daily-{stream}'
149 # Job template for daily builders
151 # The purpose of this job template is to setup a daily/nightly
152 # builder and pushes to Sonar analysis.
154 # Required Variables:
155 # stream: branch with - in place of / (eg. stable-helium)
156 # branch: branch (eg. stable/helium)
163 daysToKeep: '{build-days-to-keep}'
164 numToKeep: '{build-num-to-keep}'
165 artifactDaysToKeep: '{build-artifact-days-to-keep}'
166 artifactNumToKeep: '{build-artifact-num-to-keep}'
174 credentials-id: '{ssh-credentials}'
180 - ssh-agent-credentials:
181 user: '{ssh-credentials}'
187 maven-name: '{mvn32}'
189 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
190 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
191 settings: '{topoprocessing-settings}'
192 global-settings: '{odl-global-settings}'
195 - email-notification:
196 email-prefix: '[topoprocessing]'
200 name: 'topoprocessing-integration-{stream}'
203 # Job template for ODL merge jobs
205 # The purpose of this job template is to setup a ODL merge job
206 # and deploy artifacts to Nexus.
208 # Required Variables:
209 # stream: branch with - in place of / (eg. stable-helium)
210 # branch: branch (eg. stable/helium)
217 daysToKeep: '{build-days-to-keep}'
218 numToKeep: '{build-num-to-keep}'
219 artifactDaysToKeep: '{build-artifact-days-to-keep}'
220 artifactNumToKeep: '{build-artifact-num-to-keep}'
228 credentials-id: '{ssh-credentials}'
234 - ssh-agent-credentials:
235 user: '{ssh-credentials}'
239 jobs: 'controller-merge-{stream},yangtools-merge-{stream}'
243 maven-name: '{mvn32}'
245 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
246 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
247 settings: '{topoprocessing-settings}'
248 global-settings: '{odl-global-settings}'
251 - email-notification:
252 email-prefix: '[topoprocessing] [controller] [yangtools]'
256 deploy-unstable: false
260 name: 'topoprocessing-sonar'
269 artifactDaysToKeep: '1'
270 artifactNumToKeep: '1'
278 credentials-id: '{ssh-credentials}'
284 - ssh-agent-credentials:
285 user: '{ssh-credentials}'
291 maven-name: '{mvn32}'
293 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo -Dsonar'
294 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
295 settings: '{topoprocessing-settings}'
296 global-settings: '{odl-global-settings}'
301 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
302 - email-notification:
303 email-prefix: '[topoprocessing]'