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 - 'persistence-verify-{stream}'
10 - 'persistence-merge-{stream}'
11 - 'persistence-daily-{stream}'
12 - 'persistence-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 project: 'persistence'
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: 'persistence-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:
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: '{persistence-settings}'
79 global-settings: '{odl-global-settings}'
80 ignore-upstream-changes: true
84 email-prefix: '[persistence]'
87 name: 'persistence-merge-{stream}'
89 # Job template for ODL merge jobs
91 # The purpose of this job template is to setup a ODL merge job
92 # and deploy artifacts to Nexus.
95 # stream: branch with - in place of / (eg. stable-helium)
96 # branch: branch (eg. stable/helium)
103 daysToKeep: '{build-days-to-keep}'
104 numToKeep: '{build-num-to-keep}'
105 artifactDaysToKeep: '{build-artifact-days-to-keep}'
106 artifactNumToKeep: '{build-artifact-num-to-keep}'
113 - gerrit-trigger-scm:
114 credentials-id: '{ssh-credentials}'
116 choosing-strategy: 'default'
120 - ssh-agent-credentials:
121 user: '{ssh-credentials}'
124 - gerrit-trigger-patch-merged:
129 maven-name: '{mvn32}'
131 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
132 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
133 settings: '{persistence-settings}'
134 global-settings: '{odl-global-settings}'
137 - email-notification:
138 email-prefix: '[persistence]'
142 deploy-unstable: false
145 name: 'persistence-daily-{stream}'
147 # Job template for daily builders
149 # The purpose of this job template is to setup a daily/nightly
150 # builder and pushes to Sonar analysis.
152 # Required Variables:
153 # stream: branch with - in place of / (eg. stable-helium)
154 # branch: branch (eg. stable/helium)
161 daysToKeep: '{build-days-to-keep}'
162 numToKeep: '{build-num-to-keep}'
163 artifactDaysToKeep: '{build-artifact-days-to-keep}'
164 artifactNumToKeep: '{build-artifact-num-to-keep}'
172 credentials-id: '{ssh-credentials}'
178 - ssh-agent-credentials:
179 user: '{ssh-credentials}'
185 maven-name: '{mvn32}'
187 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
188 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
189 settings: '{persistence-settings}'
190 global-settings: '{odl-global-settings}'
193 - email-notification:
194 email-prefix: '[persistence]'
197 name: 'persistence-integration-{stream}'
200 # Job template for ODL merge jobs
202 # The purpose of this job template is to setup a ODL merge job
203 # and deploy artifacts to Nexus.
205 # Required Variables:
206 # stream: branch with - in place of / (eg. stable-helium)
207 # branch: branch (eg. stable/helium)
214 daysToKeep: '{build-days-to-keep}'
215 numToKeep: '{build-num-to-keep}'
216 artifactDaysToKeep: '{build-artifact-days-to-keep}'
217 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 credentials-id: '{ssh-credentials}'
231 - ssh-agent-credentials:
232 user: '{ssh-credentials}'
240 maven-name: '{mvn32}'
242 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
243 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
244 settings: '{persistence-settings}'
245 global-settings: '{odl-global-settings}'
248 - email-notification:
249 email-prefix: '[persistence]'
253 deploy-unstable: false
256 name: 'persistence-sonar'
265 artifactDaysToKeep: '1'
266 artifactNumToKeep: '1'
274 credentials-id: '{ssh-credentials}'
280 - ssh-agent-credentials:
281 user: '{ssh-credentials}'
287 maven-name: '{mvn32}'
289 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
290 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
291 settings: '{persistence-settings}'
292 global-settings: '{odl-global-settings}'
297 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
298 - email-notification:
299 email-prefix: '[persistence]'