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 - 'aaa-verify-{stream}'
10 - 'aaa-merge-{stream}'
11 - 'aaa-daily-{stream}'
12 - 'aaa-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: 'aaa-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: '{aaa-settings}'
81 global-settings: '{odl-global-settings}'
82 ignore-upstream-changes: true
90 name: 'aaa-merge-{stream}'
92 # Job template for ODL merge jobs
94 # The purpose of this job template is to setup a ODL merge job
95 # and deploy artifacts to Nexus.
98 # stream: branch with - in place of / (eg. stable-helium)
99 # branch: branch (eg. stable/helium)
106 daysToKeep: '{build-days-to-keep}'
107 numToKeep: '{build-num-to-keep}'
108 artifactDaysToKeep: '{build-artifact-days-to-keep}'
109 artifactNumToKeep: '{build-artifact-num-to-keep}'
116 - gerrit-trigger-scm:
117 credentials-id: '{ssh-credentials}'
119 choosing-strategy: 'default'
123 - ssh-agent-credentials:
124 user: '{ssh-credentials}'
127 - gerrit-trigger-patch-merged:
132 maven-name: '{mvn32}'
134 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
135 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
136 settings: '{aaa-settings}'
137 global-settings: '{odl-global-settings}'
140 - email-notification:
141 email-prefix: '[aaa]'
145 deploy-unstable: false
149 name: 'aaa-daily-{stream}'
151 # Job template for daily builders
153 # The purpose of this job template is to setup a daily/nightly
154 # builder and pushes to Sonar analysis.
156 # Required Variables:
157 # stream: branch with - in place of / (eg. stable-helium)
158 # branch: branch (eg. stable/helium)
165 daysToKeep: '{build-days-to-keep}'
166 numToKeep: '{build-num-to-keep}'
167 artifactDaysToKeep: '{build-artifact-days-to-keep}'
168 artifactNumToKeep: '{build-artifact-num-to-keep}'
176 credentials-id: '{ssh-credentials}'
182 - ssh-agent-credentials:
183 user: '{ssh-credentials}'
189 maven-name: '{mvn32}'
191 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
192 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
193 settings: '{aaa-settings}'
194 global-settings: '{odl-global-settings}'
197 - email-notification:
198 email-prefix: '[aaa]'
202 name: 'aaa-integration-{stream}'
205 # Job template for ODL merge jobs
207 # The purpose of this job template is to setup a ODL merge job
208 # and deploy artifacts to Nexus.
210 # Required Variables:
211 # stream: branch with - in place of / (eg. stable-helium)
212 # branch: branch (eg. stable/helium)
219 daysToKeep: '{build-days-to-keep}'
220 numToKeep: '{build-num-to-keep}'
221 artifactDaysToKeep: '{build-artifact-days-to-keep}'
222 artifactNumToKeep: '{build-artifact-num-to-keep}'
230 credentials-id: '{ssh-credentials}'
236 - ssh-agent-credentials:
237 user: '{ssh-credentials}'
241 jobs: 'yangtools-merge-{stream},controller-merge-{stream}'
245 maven-name: '{mvn32}'
247 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo source:jar javadoc:jar'
248 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
249 settings: '{aaa-settings}'
250 global-settings: '{odl-global-settings}'
253 - email-notification:
254 email-prefix: '[aaa] [yangtools] [controller]'
258 deploy-unstable: false
271 artifactDaysToKeep: '1'
272 artifactNumToKeep: '1'
280 credentials-id: '{ssh-credentials}'
286 - ssh-agent-credentials:
287 user: '{ssh-credentials}'
293 maven-name: '{mvn32}'
295 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo -Dsonar'
296 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
297 settings: '{aaa-settings}'
298 global-settings: '{odl-global-settings}'
303 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
304 - email-notification:
305 email-prefix: '[aaa]'