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