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 - 'controller-verify-{stream}'
10 - 'controller-merge-{stream}'
11 - 'controller-daily-{stream}'
12 - 'controller-integration-{stream}'
14 # stream: branch with - in place of / (eg. stable-helium)
15 # branch: branch (eg. stable/helium)
20 branch: 'stable/helium'
25 # For the Job templates below replace instances of:
26 # PROJECT with your project name (eg. controller)
27 # MAVEN_GOALS with your maven goals to build
28 # MAVEN_OPTS with your maven options to build
31 name: 'controller-verify-{stream}'
33 # Job template for ODL verify jobs
35 # The purpose of this job template is to setup a ODL verify job
38 # stream: branch with - in place of / (eg. stable-helium)
39 # branch: branch (eg. stable/helium)
47 daysToKeep: '{build-days-to-keep}'
48 numToKeep: '{build-num-to-keep}'
49 artifactDaysToKeep: '{build-artifact-days-to-keep}'
50 artifactNumToKeep: '{build-artifact-num-to-keep}'
60 credentials-id: '{ssh-credentials}'
61 refspec: '$GERRIT_REFSPEC'
62 choosing-strategy: 'gerrit'
66 - ssh-agent-credentials:
67 user: '{ssh-credentials}'
70 - gerrit-trigger-patch-submitted:
77 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
78 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
79 settings: '{controller-settings}'
80 global-settings: '{odl-global-settings}'
81 ignore-upstream-changes: true
85 email-prefix: '[controller]'
88 name: 'controller-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:
130 maven-name: '{mvn32}'
132 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
133 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
134 settings: '{controller-settings}'
135 global-settings: '{odl-global-settings}'
138 - email-notification:
139 email-prefix: '[controller]'
143 deploy-unstable: false
146 name: 'controller-daily-{stream}'
148 # Job template for daily builders
150 # The purpose of this job template is to setup a daily/nightly
151 # builder and pushes to Sonar analysis.
153 # Required Variables:
154 # stream: branch with - in place of / (eg. stable-helium)
155 # branch: branch (eg. stable/helium)
162 daysToKeep: '{build-days-to-keep}'
163 numToKeep: '{build-num-to-keep}'
164 artifactDaysToKeep: '{build-artifact-days-to-keep}'
165 artifactNumToKeep: '{build-artifact-num-to-keep}'
173 credentials-id: '{ssh-credentials}'
179 - ssh-agent-credentials:
180 user: '{ssh-credentials}'
186 maven-name: '{mvn32}'
188 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
189 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
190 settings: '{controller-settings}'
191 global-settings: '{odl-global-settings}'
194 - email-notification:
195 email-prefix: '[controller]'
199 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
202 name: 'controller-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},aaa-merge-{stream}'
245 maven-name: '{mvn32}'
247 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
248 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
249 settings: '{controller-settings}'
250 global-settings: '{odl-global-settings}'
253 - email-notification:
254 email-prefix: '[controller] [yangtools] [aaa]'