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 - 'armoury-verify-{stream}'
16 - 'armoury-merge-{stream}'
20 # stream: release stream (eg. stable-lithium or beryllium)
21 # branch: git branch (eg. stable/lithium or master)
29 disable_autorelease: True
30 disable_distribution_check: False
32 branch: 'stable/beryllium'
37 disable_autorelease: True
38 disable_distribution_check: False
41 mvn-settings: 'armoury-settings'
42 mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
43 mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
44 dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}'
45 email-upstream: '[armoury] [odlparent] [yangtools] [controller] [mdsal]'
47 # For the Job templates below replace instances of:
48 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
49 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
50 # MAVEN_GOALS with your maven goals to build
51 # MAVEN_OPTS with your maven options to build
54 name: 'armoury-verify-{stream}'
56 # Job template for ODL verify jobs
58 # The purpose of this job template is to setup a ODL verify job
61 # stream: release stream (eg. stable-lithium or beryllium)
62 # branch: git branch (eg. stable/lithium or master)
82 - opendaylight-infra-parameters:
85 refspec: 'refs/heads/{branch}'
86 artifacts: '{archive-artifacts}'
90 refspec: '$GERRIT_REFSPEC'
91 choosing-strategy: 'gerrit'
94 - opendaylight-infra-wrappers:
95 build-timeout: '{build-timeout}'
98 - gerrit-trigger-patch-submitted:
103 - jacoco-nojava-workaround
104 - provide-maven-settings:
105 global-settings-file: 'odl-global-settings'
106 settings-file: 'armoury-settings'
108 maven-version: '{mvn33}'
110 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}'
112 - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
113 settings: 'armoury-settings'
115 global-settings: 'odl-global-settings'
116 global-settings-type: cfp
120 artifacts: '**/target/surefire-reports/*-output.txt, '
122 - email-notification:
123 email-prefix: '[armoury]'
126 maven-version: '{mvn33}'
129 name: 'armoury-merge-{stream}'
131 # Job template for ODL merge jobs
133 # The purpose of this job template is to setup a ODL merge job
134 # and deploy artifacts to Nexus.
136 # Required Variables:
137 # stream: release stream (eg. stable-lithium or beryllium)
138 # branch: git branch (eg. stable/lithium or master)
147 artifactDaysToKeep: '{build-artifact-days-to-keep}'
148 artifactNumToKeep: '{build-artifact-num-to-keep}'
151 - opendaylight-infra-parameters:
154 refspec: 'refs/heads/{branch}'
155 artifacts: '{archive-artifacts}'
158 - gerrit-trigger-scm:
160 choosing-strategy: 'default'
163 - opendaylight-infra-wrappers:
164 build-timeout: '{build-timeout}'
168 - gerrit-trigger-patch-merged:
173 - jacoco-nojava-workaround
174 - provide-maven-settings:
175 global-settings-file: 'odl-global-settings'
176 settings-file: 'armoury-settings'
179 maven-name: '{mvn33}'
181 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}'
182 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
183 settings: 'armoury-settings'
185 global-settings: 'odl-global-settings'
186 global-settings-type: cfp
187 post-step-run-condition: UNSTABLE
191 condition-kind: file-exists
192 condition-filename: deploy-site.xml
193 condition-basedir: workspace
195 # The strategy here is intentional to run Maven site:deploy twice
196 # once using regular pom.xml to produce a staged-site which is
197 # then used by deploy-site.xml to push to Nexus. This is a
198 # workaround to Maven Site's default linking code which creates
199 # incorrect URLs for sites due to auto-detection assuming your
200 # project is configured in a certain way which ODL is not.
203 maven-version: '{mvn33}'
205 goals: 'site:deploy -V -B -Dstream={stream}'
208 settings: 'armoury-settings'
210 global-settings: 'odl-global-settings'
211 global-settings-type: cfp
213 maven-version: '{mvn33}'
215 goals: 'site:deploy -V -B -Dstream={stream}'
218 settings: 'armoury-settings'
220 global-settings: 'odl-global-settings'
221 global-settings-type: cfp
228 artifacts: '**/target/surefire-reports/*-output.txt, '
229 - email-notification:
230 email-prefix: '[armoury]'
234 deploy-unstable: false
237 maven-version: '{mvn33}'
240 name: 'armoury-sonar'
250 artifactDaysToKeep: '1'
251 artifactNumToKeep: '1'
254 - opendaylight-infra-parameters:
257 refspec: 'refs/heads/{branch}'
258 artifacts: '{archive-artifacts}'
266 - opendaylight-infra-wrappers:
267 build-timeout: '{build-timeout}'
271 - gerrit-trigger-patch-sonar:
275 - jacoco-nojava-workaround
276 - provide-maven-settings:
277 global-settings-file: 'odl-global-settings'
278 settings-file: 'armoury-settings'
281 maven-name: '{mvn33}'
283 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar'
284 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
285 settings: 'armoury-settings'
287 global-settings: 'odl-global-settings'
288 global-settings-type: cfp
296 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
297 - email-notification:
298 email-prefix: '[armoury]'
301 maven-version: '{mvn33}'