2720f0c290de8a3b2c9212c1510a519a59e7434d
[releng/builder.git] / jjb / releng-macros.yaml
1 # OLD Releng macros
2 ---
3 - property:
4     name: opendaylight-infra-properties
5     properties:
6       - build-discarder:
7           days-to-keep: '{build-days-to-keep}'
8           num-to-keep: 40
9           # Need to keep artifacts for at least 1 day as some projects need to
10           # be able to validate their artifacts and only allowing limited
11           # number of artifacts could make fast moving jobs lost their
12           # artifacts before the developers can test it.
13           artifact-days-to-keep: 1
14
15 - parameter:
16     name: opendaylight-infra-parameters
17     parameters:
18       - string:
19           name: PROJECT
20           default: '{project}'
21           description: 'Parameter to identify an ODL Gerrit project'
22       - string:
23           name: ARCHIVE_ARTIFACTS
24           default: >
25               {artifacts}
26               **/target/surefire-reports/*-output.txt
27               **/hs_err_*.log
28               **/target/feature/feature.xml
29               **/*.hprof
30           description: 'Space separated glob patterns for artifacts to archive into logs.opendaylight.org'
31       - string:
32           name: GERRIT_PROJECT
33           default: '{project}'
34           description: "GERRIT_PROJECT parameter if not given by trigger"
35       - string:
36           name: GERRIT_BRANCH
37           default: '{branch}'
38           description: "JJB configured GERRIT_BRANCH parameter"
39       - string:
40           name: GERRIT_REFSPEC
41           default: '{refspec}'
42           description: "GERRIT_REFSPEC parameter if not given by trigger"
43       - string:
44           name: STACK_NAME
45           default: '$SILO-$JOB_NAME-$BUILD_NUMBER'
46           description: "Used by Heat to generate a unique stack & vm name"
47       - string:
48           name: OS_CLOUD
49           default: '{os-cloud}'
50           description: |
51               The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
52               variable name that is significant to openstack client as a
53               environment variable. Please refer to the documentation for
54               further details.
55               https://docs.openstack.org/developer/python-openstackclient/
56
57 - parameter:
58     name: build-tag
59     parameters:
60       - string:
61           name: BUILD_TAG
62           default: ''
63           description: 'Tag in Git to checkout'
64
65 - parameter:
66     name: controller-version-parameter
67     parameters:
68       - string:
69           name: ODL_VERSION
70           default: '{odl_version}'
71           description: 'Controller version (for use with openstacks networking_odl project)'
72
73 - parameter:
74     name: patches-to-build-parameter
75     parameters:
76       - string:
77           name: PATCHES_TO_BUILD
78           default: ''
79           description: 'csv list of patches in project:changeset format to build distribution with'
80
81 - parameter:
82     name: distribution-branch-to-build-parameter
83     parameters:
84       - string:
85           name: DISTRIBUTION_BRANCH_TO_BUILD
86           default: 'master'
87           description: 'distribution repo branch to build with'
88
89 - parameter:
90     name: p2zip-parameter
91     parameters:
92       - string:
93           name: P2ZIP_URL
94           default: ''
95           description: 'Nexus staging profile id'
96
97 - parameter:
98     name: stage-id-parameter
99     parameters:
100       - string:
101           name: STAGING_PROFILE_ID
102           default: '{stage-id}'
103           description: 'Nexus staging profile id'
104
105 - parameter:
106     name: maven-exec
107     parameters:
108       - string:
109           name: MVN
110           default: '/w/tools/hudson.tasks.Maven_MavenInstallation/{maven-version}/bin/mvn'
111           description: 'Maven selector to be used by shell scripts'
112
113 - scm:
114     name: git-scm
115     scm:
116       - git:
117           credentials-id: 'opendaylight-jenkins-ssh'
118           url: '$GIT_BASE'
119           refspec: ''
120           branches:
121             - 'origin/{branch}'
122           skip-tag: true
123           wipe-workspace: true
124
125 - scm:
126     name: git-scm-with-submodules
127     scm:
128       - git:
129           credentials-id: 'opendaylight-jenkins-ssh'
130           url: '$GIT_BASE'
131           refspec: ''
132           branches:
133             - 'refs/heads/{branch}'
134           skip-tag: true
135           wipe-workspace: true
136           submodule:
137             recursive: true
138
139 - scm:
140     name: gerrit-trigger-scm
141     scm:
142       - git:
143           credentials-id: 'opendaylight-jenkins-ssh'
144           url: '$GIT_BASE'
145           refspec: '{refspec}'
146           branches:
147             - 'origin/$GERRIT_BRANCH'
148           skip-tag: true
149           choosing-strategy: '{choosing-strategy}'
150
151 - wrapper:
152     name: build-timeout
153     wrappers:
154       - timeout:
155           type: absolute
156           timeout: 360
157           fail: true
158
159 # This is a single macro to use for all jobs who vote on every (relevant) patch set.
160 # Only 'recheck' trigger word is supported, it always triggers the full set of relevant jobs,
161 # in order to prevent Jenkins from starting only a subset and still voting Verified+1.
162 # Arguments:
163 #     server: name of gerrit server to listen to
164 #     project: pattern to match triggering projects
165 #     branch: triggering branch name
166 #     files: pattern to match triggering filepaths
167 - trigger:
168     name: gerrit-trigger-patch-submitted
169     triggers:
170       - gerrit:
171           server-name: '{server}'
172           trigger-on:
173             - patchset-created-event:
174                 exclude-drafts: true
175                 exclude-trivial-rebase: false
176                 exclude-no-code-change: false
177             - draft-published-event
178             - comment-added-contains-event:
179                 comment-contains-value: recheck
180           projects:
181             - project-compare-type: ANT
182               project-pattern: '{project}'
183               branches:
184                 - branch-compare-type: ANT
185                   branch-pattern: '**/{branch}'
186               file-paths:
187                 - compare-type: ANT
188                   pattern: '{files}'
189
190 # TODO: Unify argument names across gerrit-trigger-* macros.
191 - trigger:
192     name: gerrit-trigger-patch-merged
193     triggers:
194       - gerrit:
195           server-name: '{server-name}'
196           trigger-on:
197             - change-merged-event
198             - comment-added-contains-event:
199                 comment-contains-value: 'remerge'
200           projects:
201             - project-compare-type: 'ANT'
202               project-pattern: '{name}'
203               branches:
204                 - branch-compare-type: 'ANT'
205                   branch-pattern: '**/{branch}'
206           skip-vote:
207             successful: true
208             failed: true
209             unstable: true
210             notbuilt: true
211           # Force Jenkins always vote the values it should already have voted
212           # during the prior verify phase
213           override-votes: true
214           gerrit-build-started-verified-value: 1
215           gerrit-build-successful-verified-value: 1
216           gerrit-build-failed-verified-value: 1
217           gerrit-build-unstable-verified-value: 1
218           gerrit-build-notbuilt-verified-value: 1
219           gerrit-build-started-codereview-value: 0
220           gerrit-build-successful-codereview-value: 0
221           gerrit-build-failed-codereview-value: 0
222           gerrit-build-unstable-codereview-value: 0
223           gerrit-build-notbuilt-codereview-value: 0
224
225 # TODO: Unify argument names across gerrit-trigger-* macros.
226 - trigger:
227     name: gerrit-trigger-patch-sonar
228     triggers:
229       - gerrit:
230           server-name: '{server-name}'
231           trigger-on:
232             - comment-added-contains-event:
233                 comment-contains-value: 'run-sonar'
234           projects:
235             - project-compare-type: 'ANT'
236               project-pattern: '{name}'
237               branches:
238                 - branch-compare-type: 'ANT'
239                   branch-pattern: '**/master'
240           skip-vote:
241             successful: true
242             failed: true
243             unstable: true
244             notbuilt: true
245
246 - publisher:
247     name: archive-artifacts
248     publishers:
249       - archive:
250           artifacts: '{artifacts}'
251           allow-empty: true
252           fingerprint: true
253           latest-only: true
254
255 - publisher:
256     name: email-notification
257     publishers:
258       - email-ext:
259           recipients: '{email-recipients}'
260           reply-to: ''
261           content-type: default
262           subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
263           body: |
264               $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
265
266               Please refer to the logs server URL for console logs when possible
267               and use the Jenkins Build URL as a last resort.
268
269               Console Logs URL:
270               https://logs.opendaylight.org/$SILO/$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER
271
272               Jenkins Build URL:
273               $BUILD_URL
274           unstable: true
275           fixed: true
276           send-to:
277             - recipients
278
279 - publisher:
280     name: jacoco-report
281     publishers:
282       - jacoco:
283           exec-pattern: "**/**.exec"
284           class-pattern: "**/classes"
285           source-pattern: "**/src/main/java"
286           exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**"
287           status-update: true
288           targets:
289             - branch:
290                 healthy: 10
291                 unhealthy: 20
292             - method:
293                 healthy: 50
294                 unhealthy: 40
295
296 - publisher:
297     name: opendaylight-infra-shiplogs
298     # To archive things the job will need to create a "archives" directory in
299     # the workspace and this macro will handle copying the contents of the
300     # archives directory.
301     #
302     # Uses the build parameter ARCHIVE_ARTIFACTS if not empty to find files
303     # to archive. You can pass globstar patterns for example "**/*.xml **/*.log"
304     # as the archive pattern. This is a space separated list of files to archive.
305     #
306     # Also ensure that the workspace is cleaned up at the end of the build.
307     publishers:
308       - postbuildscript:
309           builders:
310             - shell: !include-raw: include-raw-stack-delete.sh
311             - shell: !include-raw-escape: include-raw-deploy-archives.sh
312             - maven-target:
313                 maven-version: '{maven-version}'
314                 pom: '.archives/deploy-archives.xml'
315                 goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
316                 settings: 'jenkins-log-archives-settings'
317                 settings-type: cfp
318                 global-settings: 'odl-global-settings'
319                 global-settings-type: cfp
320             - description-setter:
321                 regexp: '^Build logs: .*'
322             # Cleanup after ourselves
323             - wipe-org-opendaylight-repo
324           script-only-if-succeeded: false
325           script-only-if-failed: false
326           mark-unstable-if-failed: true
327       - workspace-cleanup:
328           exclude:
329             # Do not clean up *.jenkins-trigger files for jobs that use a
330             # properties file as input for triggering another build.
331             - '**/*.jenkins-trigger'
332           fail-build: false
333
334 - builder:
335     name: opendaylight-infra-stack
336     # opendaylight-infra-stack.sh has a required variable {stack-template} that
337     # must be passed into this macro.
338     builders:
339       - shell: !include-raw: opendaylight-infra-stack.sh
340       - shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
341
342 - builder:
343     name: opendaylight-infra-push-gerrit-patch
344     # opendaylight-infra-push-gerrit-patch.sh allows a job to push a patch to
345     # Gerrit in an automated fashion. This is meant for tasks that creates
346     # the same patch regularly and needs the ability to detect if an unreviewed
347     # patch already exists. In which case it will update the existing patch.
348     #
349     # Note: This patch assumes the $WORKSPACE contains the project repo with
350     #       the files changed already "git add" and waiting for a "git commit" call.
351     #
352     # This script requires the following JJB variables to be passed in:
353     #     {project}       Gerrit project-name
354     #     {gerrit-topic}  Gerrit topic, please make a unique topic.
355     #     {gerrit-commit-message} Commit message to assign to commit.
356     # NOTE: Requires git review to be installed on node.
357     builders:
358       - shell: !include-raw: opendaylight-infra-push-gerrit-patch.sh
359
360 - builder:
361     name: distribute-build-url
362     # Place URL of the current run of a build job to a file at given path.
363     builders:
364       - shell: 'echo "$BUILD_URL" > {path}/build.url'
365
366 - builder:
367     name: wipe-org-opendaylight-repo
368     builders:
369       - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
370
371 - builder:
372     name: wipe-local-maven-repo
373     builders:
374       - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
375
376 - builder:
377     name: jacoco-nojava-workaround
378     builders:
379       - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
380
381 - builder:
382     name: check-clm
383     builders:
384       - sonatype-clm:
385           application-name: '{application-name}'
386
387 - builder:
388     name: releng-check-unicode
389     builders:
390       - shell: |
391           $WORKSPACE/scripts/check-unicode.sh jjb/
392
393 - builder:
394     name: provide-maven-settings
395     builders:
396       - config-file-provider:
397           files:
398             - file-id: '{global-settings-file}'
399               variable: 'GLOBAL_SETTINGS_FILE'
400             - file-id: '{settings-file}'
401               variable: 'SETTINGS_FILE'
402
403 - builder:
404     name: releng-fetch-p2zip-if-necessary
405     builders:
406       - shell: |
407           # Cleanup any existing zips and metadata before we download the new update site
408           rm -f *.zip *.xml
409       - conditional-step:
410           condition-kind: strings-match
411           condition-string1: '$P2ZIP_URL'
412           condition-string2: ''
413           condition-basedir: workspace
414           steps:
415             # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
416             - maven-target:
417                 maven-version: '{maven-version}'
418                 goals: >
419                     org.apache.maven.plugins:maven-dependency-plugin:get
420                     org.apache.maven.plugins:maven-dependency-plugin:copy
421                     -V -B
422                     -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
423                     -DoutputDirectory=$WORKSPACE
424                 settings: '{settings}'
425                 global-settings: '{global-settings}'
426
427 - builder:
428     name: releng-generate-p2pom
429     builders:
430       - shell: !include-raw: include-raw-generate-p2pom.sh
431
432 - builder:
433     name: releng-update-p2composite-metadata
434     builders:
435       - shell: !include-raw: include-raw-update-p2composite-metadata.sh
436       - conditional-step:
437           condition-kind: file-exists
438           condition-filename: deploy-composite-repo.xml
439           condition-basedir: workspace
440           steps:
441             - maven-target:
442                 maven-version: '{maven-version}'
443                 pom: 'deploy-composite-repo.xml'
444                 goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
445                 settings: '{settings}'
446                 global-settings: '{global-settings}'
447
448 - builder:
449     name: releng-stage-release
450     builders:
451       - shell: !include-raw: include-raw-stage-release.sh
452
453 - wrapper:
454     # This wrapper is required for all jobs as it configures the wrappers
455     # needed by OpenDaylight infra.
456     name: opendaylight-infra-wrappers
457     wrappers:
458       - mask-passwords
459       - config-file-provider:
460           files:
461             - file-id: rackspace-heat
462               target: '$HOME/.config/openstack/clouds.yaml'
463       - timeout:
464           type: absolute
465           timeout: '{build-timeout}'
466           timeout-var: 'BUILD_TIMEOUT'
467           fail: true
468       - timestamps
469       - ssh-agent-credentials:
470           users:
471             - 'opendaylight-jenkins-ssh'
472       - openstack:
473           single-use: true
474
475 - builder:
476     name: packer-validate
477     builders:
478       - config-file-provider:
479           files:
480             - file-id: 'packer-cloud-env'
481               variable: 'CLOUDENV'
482       - shell: |
483           cd packer
484           varfiles="../packer/vars/*"
485           templates="../packer/templates/*"
486           provision="../packer/provision/*.sh"
487           for v in $varfiles; do
488               [[ "${v##*/}" =~ ^(cloud-env.*)$ ]] && continue
489               for t in $templates; do
490                   export PACKER_LOG="yes" && \
491                   export PACKER_LOG_PATH="packer-validate-${v##*/}-${t##*/}.log" && \
492                               packer.io validate -var-file=$CLOUDENV \
493                               -var-file=$v $t
494                   if [ $? -ne 0 ]; then
495                       break
496                   fi
497               done
498           done
499           for p in $provision; do
500               /bin/bash -n $p > provision-validate-${p##*/}.log 2>&1
501           done
502
503
504 - builder:
505     name: packer-build
506     builders:
507       - config-file-provider:
508           files:
509             - file-id: 'packer-cloud-env'
510               variable: 'CLOUDENV'
511       - shell: |
512           cd packer
513           export PACKER_LOG="yes" && \
514           export PACKER_LOG_PATH="packer-build.log" && \
515                       packer.io build -color=false -var-file=$CLOUDENV \
516                        -var-file=../packer/vars/{platform}.json \
517                        ../packer/templates/{template}.json
518
519 - builder:
520     # TODO: Verify signature after downloading users public key from a locally created
521     # repository instead of the public keymesh. This requires a process in place to get ODL
522     # developers public keys into a local repository without increasing the job thoughput.
523     name: verify-gpg-signature
524     builders:
525       - shell: !include-raw: include-raw-verify-gpg-signatures.sh
526
527 - builder:
528     name: opendaylight-infra-jjbini
529     builders:
530       - config-file-provider:
531           files:
532             - file-id: 'jjbini'
533               target: '$HOME/.config/jenkins_jobs/jenkins_jobs.ini'
534
535 - builder:
536     name: distribution-check-wipe
537     # Step zero: Wipe file repositories up front.
538     builders:
539       - shell: |
540           echo "wipe r: the local Maven repository"
541           rm -rfv /tmp/r
542           echo "wipe n: the fake remote (Nexus) repository"
543           rm -rfv /tmp/n
544           echo "wipe t: the transient repository used in some manipulations"
545           rm -rfv /tmp/t
546
547 - builder:
548     name: distribution-check-build-project
549     # Step one: Online build of the project, using local repository /tmp/r/ and deploying artifacts to /tmp/n/.
550     # Ordinary SingleFeatureTest failures are detected in the verify job, so we can use "q" profile here.
551     # Arguments:
552     #   pom: Relative path to pom file to use. Typically '$GERRIT_PROJECT/pom.xml'.
553     builders:
554       - maven-target:
555           maven-version: 'mvn33'
556           pom: '{pom}'
557           goals: >
558               clean deploy dependency:tree
559               -DoutputFile=dependency_tree.txt
560               -V -B -Pq
561               -Djenkins
562               -DaltDeploymentRepository=fake-nexus::default::file:///tmp/n/
563               -Dmaven.repo.local=/tmp/r
564               -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
565           java-opts:
566             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
567           settings: 'integration-settings'
568           settings-type: cfp
569           global-settings: 'odl-global-settings'
570           global-settings-type: cfp
571
572 - builder:
573     name: distribution-check-verify-groupid
574     # Step two: Verify all deployed artifacts belong to the project's groupId.
575     # This is done by moving the allowed directories out of /tmp/n and checking no files remained there.
576     # The correct directory is derived from $GERRIT_PROJECT.
577     # TODO: Verify all deployed artifacts are snapshots.
578     # Arguments:
579     #   gerrit-project: Project name as nexus URI part. Typically '$GERRIT_PROJECT'.
580     builders:
581       - shell: |
582           mkdir -p /tmp/t/org/opendaylight/{gerrit-project}
583           mv /tmp/n/org/opendaylight/{gerrit-project}/* /tmp/t/org/opendaylight/{gerrit-project}/
584           test -z "`find /tmp/n/ -type f`" || ( echo "ERROR: Mismatched groupId detected (see above)." && false )
585           rm -rf /tmp/n
586           mv /tmp/t /tmp/n
587
588 - builder:
589     name: distribution-check-download-deps
590     # Step three: Online build of integration distribution.
591     # This step is mainly used for downloading other project artifacts.
592     # Running SingleFeaturesTest here does not seem to be required, so -Pq is used again.
593     # Arguments:
594     #   dist-pom: Relative path to pom file to use. 'distribution/pom.xml' is recommended.
595     builders:
596       - maven-target:
597           maven-version: 'mvn33'
598           pom: '{dist-pom}'
599           goals: >
600               clean install dependency:tree
601               -DoutputFile=dependency_tree.txt
602               -V -B -Pq
603               -Djenkins
604               -Dmaven.repo.local=/tmp/r
605               -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
606           java-opts:
607             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
608           settings: 'integration-settings'
609           settings-type: cfp
610           global-settings: 'odl-global-settings'
611           global-settings-type: cfp
612
613 - builder:
614     name: distribution-check-delete-snapshots
615     # Step four: Delete snapshot artifacts from the local repository.
616     # This is critical to detect orphaned artifacts or missing project-internal dependency declarations.
617     # Also other files related to maven repository resolution are removed,
618     # and then empty directories are removed, in order to simplify debugging.
619     builders:
620       - shell: !include-raw-escape: integration-distribution-delete-snaphot-artifacts.sh
621
622 - builder:
623     name: distribution-check-configure-remotes
624     # Now the ugly part. It seems that the only way to tell Maven 2+
625     # which remote repositories to use is via settings.xml file.
626     # So we create such a file here, but it needs most of odlparent:settings.xml
627     builders:
628       - shell: |
629           echo '
630           <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
631             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
632             xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
633             https://maven.apache.org/xsd/settings-1.0.0.xsd">
634             <profiles>
635               <profile>
636                 <id>opendaylight-release</id>
637                 <repositories>
638                   <repository>
639                     <id>opendaylight-mirror</id>
640                     <name>opendaylight</name>
641                     <url>https://nexus.opendaylight.org/content/repositories/public/</url>
642                     <releases><updatePolicy>never</updatePolicy></releases>
643                     <snapshots><enabled>false</enabled></snapshots>
644                   </repository>
645                 </repositories>
646                 <pluginRepositories>
647                   <pluginRepository>
648                     <id>opendaylight-plugin-mirror</id>
649                     <name>opendaylight-plugin</name>
650                     <url>https://nexus.opendaylight.org/content/repositories/public/</url>
651                     <releases><updatePolicy>never</updatePolicy></releases>
652                     <snapshots><enabled>false</enabled></snapshots>
653                   </pluginRepository>
654                 </pluginRepositories>
655               </profile>
656               <profile>
657                 <id>file-snapshots</id>
658                 <repositories>
659                   <repository>
660                     <id>file-snapshots</id>
661                     <name>file</name>
662                     <url>file:///tmp/n/</url>
663                     <releases><enabled>false</enabled></releases>
664                   </repository>
665                 </repositories>
666                 <pluginRepositories>
667                   <pluginRepository>
668                     <id>file-plugin-snapshots</id>
669                     <name>file-plugin</name>
670                     <url>file:///tmp/n/</url>
671                     <releases><enabled>false</enabled></releases>
672                   </pluginRepository>
673                 </pluginRepositories>
674               </profile>
675             </profiles>
676             <activeProfiles>
677               <activeProfile>file-snapshots</activeProfile>
678               <activeProfile>opendaylight-release</activeProfile>
679             </activeProfiles>
680           </settings>
681           ' > fake_remotes.xml
682           # Notes: The settings are minimal in order to detect breakage scenarios,
683           # while allowing for the following quirks:
684           # * Some plugins seem to have hardcoded repos, for example check-license looks at repository.apache.org
685           # * Some plugin artifacts (related to surefire) are not downloaded when tests are skipped.
686           # * populate-local-repo looks at oss.sonatype.org and does not store things (like guava) to /tmp/r
687
688 - builder:
689     name: distribution-check-repeat-build
690     # Step five: Repeat the distribution build but with the new settings.
691     # Here, only the project snapshot artifacts deployed to /tmp/n are available,
692     # which faithfully reproduces conditions in later verify-like job runs.
693     # We cannot use --offline, because: "Cannot access file (file:///tmp/n) in offline mode"
694     # This is where SingleFeatureTest is not skipped.
695     # Arguments:
696     #   dist-pom: Relative path to pom file to use. 'distribution/pom.xml' is recommended.
697     builders:
698       - maven-target:
699           maven-version: 'mvn33'
700           pom: '{dist-pom}'
701           goals: >
702               clean install dependency:tree
703               -DoutputFile=dependency_tree.txt -s fake_remotes.xml
704               -V -B -Pq
705               -DskipTests=false
706               -Djenkins
707               -Dmaven.repo.local=/tmp/r
708               -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
709           java-opts:
710             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'