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 - '{name}-clm-{stream}'
10 - '{name}-distribution-{stream}'
11 - '{name}-distribution-check-{stream}'
12 - '{name}-integration-{stream}'
13 - '{name}-periodic-{stream}'
14 - '{name}-validate-autorelease-{stream}'
15 - 'packetcable-verify-{stream}'
16 - 'packetcable-merge-{stream}'
20 # stream: release stream (eg. stable-lithium or beryllium)
21 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: False
29 disable_distribution_check: False
31 branch: 'stable/beryllium'
36 disable_autorelease: False
37 disable_distribution_check: False
39 branch: 'stable/lithium'
43 disable_autorelease: True
44 disable_distribution_check: True
46 project: 'packetcable'
47 mvn-settings: 'packetcable-settings'
48 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
49 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
50 dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
51 email-upstream: '[packetcable] [odlparent] [controller] [yangtools]'
53 # For the Job templates below replace instances of:
54 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
55 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
56 # MAVEN_GOALS with your maven goals to build
57 # MAVEN_OPTS with your maven options to build
60 name: 'packetcable-verify-{stream}'
62 # Job template for ODL verify jobs
64 # The purpose of this job template is to setup a ODL verify job
67 # stream: release stream (eg. stable-lithium or beryllium)
68 # branch: git branch (eg. stable/lithium or master)
93 refspec: 'refs/heads/{branch}'
97 refspec: '$GERRIT_REFSPEC'
98 choosing-strategy: 'gerrit'
101 - opendaylight-infra-wrappers:
102 build-timeout: '{build-timeout}'
105 - gerrit-trigger-patch-submitted:
110 - jacoco-nojava-workaround
111 - provide-maven-settings:
112 global-settings-file: 'odl-global-settings'
113 settings-file: 'packetcable-settings'
115 maven-version: '{mvn33}'
117 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
119 - '-Xmx1024m -XX:MaxPermSize=256m'
120 settings: 'packetcable-settings'
122 global-settings: 'odl-global-settings'
123 global-settings-type: cfp
127 artifacts: '**/target/surefire-reports/*-output.txt, '
129 - email-notification:
130 email-prefix: '[packetcable]'
133 maven-version: '{mvn33}'
136 name: 'packetcable-merge-{stream}'
138 # Job template for ODL merge jobs
140 # The purpose of this job template is to setup a ODL merge job
141 # and deploy artifacts to Nexus.
143 # Required Variables:
144 # stream: release stream (eg. stable-lithium or beryllium)
145 # branch: git branch (eg. stable/lithium or master)
154 artifactDaysToKeep: '{build-artifact-days-to-keep}'
155 artifactNumToKeep: '{build-artifact-num-to-keep}'
163 refspec: 'refs/heads/{branch}'
166 - gerrit-trigger-scm:
168 choosing-strategy: 'default'
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
176 - gerrit-trigger-patch-merged:
181 - jacoco-nojava-workaround
182 - provide-maven-settings:
183 global-settings-file: 'odl-global-settings'
184 settings-file: 'packetcable-settings'
187 maven-name: '{mvn33}'
189 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
190 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
191 settings: 'packetcable-settings'
193 global-settings: 'odl-global-settings'
194 global-settings-type: cfp
195 post-step-run-condition: UNSTABLE
199 condition-kind: file-exists
200 condition-filename: deploy-site.xml
201 condition-basedir: workspace
203 # The strategy here is intentional to run Maven site:deploy twice
204 # once using regular pom.xml to produce a staged-site which is
205 # then used by deploy-site.xml to push to Nexus. This is a
206 # workaround to Maven Site's default linking code which creates
207 # incorrect URLs for sites due to auto-detection assuming your
208 # project is configured in a certain way which ODL is not.
211 maven-version: '{mvn33}'
213 goals: 'site:deploy -V -B -Dstream={stream}'
216 settings: 'packetcable-settings'
218 global-settings: 'odl-global-settings'
219 global-settings-type: cfp
221 maven-version: '{mvn33}'
223 goals: 'site:deploy -V -B -Dstream={stream}'
226 settings: 'packetcable-settings'
228 global-settings: 'odl-global-settings'
229 global-settings-type: cfp
236 artifacts: '**/target/surefire-reports/*-output.txt, '
237 - email-notification:
238 email-prefix: '[packetcable]'
242 deploy-unstable: false
245 maven-version: '{mvn33}'
248 name: 'packetcable-sonar'
258 artifactDaysToKeep: '1'
259 artifactNumToKeep: '1'
271 - opendaylight-infra-wrappers:
272 build-timeout: '{build-timeout}'
276 - gerrit-trigger-patch-sonar:
280 - jacoco-nojava-workaround
281 - provide-maven-settings:
282 global-settings-file: 'odl-global-settings'
283 settings-file: 'packetcable-settings'
286 maven-name: '{mvn33}'
288 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
290 settings: 'packetcable-settings'
292 global-settings: 'odl-global-settings'
293 global-settings-type: cfp
301 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
302 - email-notification:
303 email-prefix: '[packetcable]'
306 maven-version: '{mvn33}'