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 - 'reservation-verify-{stream}'
10 - 'reservation-merge-{stream}'
11 - 'reservation-daily-{stream}'
12 - 'reservation-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 branch: 'stable/helium'
23 project: 'reservation'
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: 'reservation-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:
78 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
79 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
80 settings: '{reservation-settings}'
81 global-settings: '{odl-global-settings}'
82 ignore-upstream-changes: true
86 email-prefix: '[reservation]'
89 name: 'reservation-merge-{stream}'
91 # Job template for ODL merge jobs
93 # The purpose of this job template is to setup a ODL merge job
94 # and deploy artifacts to Nexus.
97 # stream: branch with - in place of / (eg. stable-helium)
98 # branch: branch (eg. stable/helium)
105 daysToKeep: '{build-days-to-keep}'
106 numToKeep: '{build-num-to-keep}'
107 artifactDaysToKeep: '{build-artifact-days-to-keep}'
108 artifactNumToKeep: '{build-artifact-num-to-keep}'
115 - gerrit-trigger-scm:
116 credentials-id: '{ssh-credentials}'
118 choosing-strategy: 'default'
122 - ssh-agent-credentials:
123 user: '{ssh-credentials}'
126 - gerrit-trigger-patch-merged:
131 maven-name: '{mvn32}'
133 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
134 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
135 settings: '{reservation-settings}'
136 global-settings: '{odl-global-settings}'
139 - email-notification:
140 email-prefix: '[reservation]'
144 deploy-unstable: false
147 name: 'reservation-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: '{reservation-settings}'
192 global-settings: '{odl-global-settings}'
195 - email-notification:
196 email-prefix: '[reservation]'
200 name: 'reservation-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: 'odlparent-merge-{stream},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 '
246 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
247 settings: '{reservation-settings}'
248 global-settings: '{odl-global-settings}'
251 - email-notification:
252 email-prefix: '[reservation] [odlparent] [controller] [yangtools]'
256 deploy-unstable: false
259 name: 'reservation-sonar'
268 artifactDaysToKeep: '1'
269 artifactNumToKeep: '1'
277 credentials-id: '{ssh-credentials}'
283 - ssh-agent-credentials:
284 user: '{ssh-credentials}'
290 maven-name: '{mvn32}'
292 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
294 settings: '{reservation-settings}'
295 global-settings: '{odl-global-settings}'
300 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
301 - email-notification:
302 email-prefix: '[reservation]'