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 - 'ttp-verify-{stream}'
10 - 'ttp-merge-{stream}'
11 - 'ttp-daily-{stream}'
12 - 'ttp-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: 'ttp-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: '{ttp-settings}'
81 global-settings: '{odl-global-settings}'
82 ignore-upstream-changes: true
89 name: 'ttp-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: '{ttp-settings}'
136 global-settings: '{odl-global-settings}'
139 - email-notification:
140 email-prefix: '[ttp]'
144 deploy-unstable: false
147 name: 'ttp-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: '{ttp-settings}'
192 global-settings: '{odl-global-settings}'
195 - email-notification:
196 email-prefix: '[ttp]'
199 name: 'ttp-integration-{stream}'
202 # Job template for ODL merge jobs
204 # The purpose of this job template is to setup a ODL merge job
205 # and deploy artifacts to Nexus.
207 # Required Variables:
208 # stream: branch with - in place of / (eg. stable-helium)
209 # branch: branch (eg. stable/helium)
216 daysToKeep: '{build-days-to-keep}'
217 numToKeep: '{build-num-to-keep}'
218 artifactDaysToKeep: '{build-artifact-days-to-keep}'
219 artifactNumToKeep: '{build-artifact-num-to-keep}'
227 credentials-id: '{ssh-credentials}'
233 - ssh-agent-credentials:
234 user: '{ssh-credentials}'
242 maven-name: '{mvn32}'
244 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
245 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
246 settings: '{ttp-settings}'
247 global-settings: '{odl-global-settings}'
250 - email-notification:
251 email-prefix: '[ttp]'
263 artifactDaysToKeep: '1'
264 artifactNumToKeep: '1'
272 credentials-id: '{ssh-credentials}'
278 - ssh-agent-credentials:
279 user: '{ssh-credentials}'
285 maven-name: '{mvn32}'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
289 settings: '{ttp-settings}'
290 global-settings: '{odl-global-settings}'
295 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
296 - email-notification:
297 email-prefix: '[ttp]'