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)
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: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
77 maven-opts: '-Xmx4096m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
78 settings: '{controller-settings}'
79 global-settings: '{odl-global-settings}'
80 ignore-upstream-changes: true
84 email-prefix: '[controller]'
87 name: 'controller-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: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
132 maven-opts: '-Xmx4096m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
133 settings: '{controller-settings}'
134 global-settings: '{odl-global-settings}'
137 - email-notification:
138 email-prefix: '[controller]'
142 deploy-unstable: false
145 name: 'controller-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: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
188 maven-opts: '-Xmx4096m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
189 settings: '{controller-settings}'
190 global-settings: '{odl-global-settings}'
193 - email-notification:
194 email-prefix: '[controller]'
198 maven-opts: '-Xmx4096m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
201 name: 'controller-integration-{stream}'
204 # Job template for ODL merge jobs
206 # The purpose of this job template is to setup a ODL merge job
207 # and deploy artifacts to Nexus.
209 # Required Variables:
210 # stream: branch with - in place of / (eg. stable-helium)
211 # branch: branch (eg. stable/helium)
218 daysToKeep: '{build-days-to-keep}'
219 numToKeep: '{build-num-to-keep}'
220 artifactDaysToKeep: '{build-artifact-days-to-keep}'
221 artifactNumToKeep: '{build-artifact-num-to-keep}'
229 credentials-id: '{ssh-credentials}'
235 - ssh-agent-credentials:
236 user: '{ssh-credentials}'
240 jobs: 'yangtools-merge-{stream},aaa-merge-{stream}'
244 maven-name: '{mvn32}'
246 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install -Pintegrationtests,docs'
247 maven-opts: '-Xmx4096m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
248 settings: '{controller-settings}'
249 global-settings: '{odl-global-settings}'
252 - email-notification:
253 email-prefix: '[controller] [yangtools] [aaa]'