8 .. include:: ../job-groups.rst
10 Below is a list of Maven job groups:
12 .. literalinclude:: ../../jjb/lf-maven-job-groups.yaml
22 Runs Sonar against a Maven project.
26 :java-version: Version of Java to execute Sonar with. (default: openjdk11)
27 :mvn-version: Version of Maven to execute Sonar with.
28 :mvn-settings: Maven settings.xml file containing credentials to use.
30 lf-infra-maven-sonarcloud
31 -------------------------
33 Runs Sonar against a Maven project and pushes results to SonarCloud.
37 :java-version: Version of Java to execute Maven build. (default: openjdk11)
38 :mvn-version: Version of Maven to execute Sonar with.
39 :mvn-settings: Maven settings.xml file containing credentials to use.
40 :sonarcloud-project-key: SonarCloud project key.
41 :sonarcloud-project-organization: SonarCloud project organization.
42 :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: openjdk11)
43 :sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
44 wait for the quality gate result. (default: false)
49 Calls the maven build script to perform a maven build.
53 :mvn-goals: The maven goals to perform for the build.
54 (default: clean deploy)
59 Common Jenkins configuration for Maven jobs.
64 Calls the maven deploy script to push artifacts to Nexus.
66 lf-maven-versions-plugin
67 ------------------------
69 Conditionally calls Maven versions plugin to set, update and commit the maven `versions:set`.
73 :maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
74 :version-properties-file: Name and path of the version properties file.
75 (default: version.properties)
76 :mvn-version: Version of Maven to execute Sonar with.
77 :mvn-pom: Location of pom.xml.
78 :mvn-settings: Maven settings.xml file containing credentials to use.
83 Calls the maven stage script to push artifacts to a Nexus staging repository.
87 :mvn-global-settings: The name of the Maven global settings to use for
89 :mvn-settings: The name of settings file containing credentials for the project.
91 lf-update-java-alternatives
92 ---------------------------
94 Setup Java alternatives for the Distro.
98 :java-version: Version of Java to set as the default Java.
101 lf-infra-sonatype-clm
102 ---------------------
104 Runs a Sonatype CLM scan against a Maven project and pushes results to
107 :Optional parameters:
108 :mvn-goals: The maven goals to perform for the build.
109 (default: clean install)
111 lf-infra-maven-sbom-generator
112 -----------------------------
114 Runs a specific version of SPDX SBOM Generator tool to generate a report.
115 The calling job template sets the version to run in the SBOM_GENERATOR_VERSION parameter.
117 :Optional parameters:
118 :sbom-flags: SBOM generator options. See https://github.com/opensbom-generator/spdx-sbom-generator
126 Produces a CLM scan of the code into Nexus IQ Server.
130 - {project-name}-maven-clm-{stream}
134 :Comment Trigger: run-clm
136 :Required parameters:
138 :build-node: The node to run build on.
139 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
140 :mvn-settings: The name of settings file containing credentials for the project.
142 :Optional parameters:
144 :branch: The branch to build against. (default: master)
145 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
146 :build-timeout: Timeout in minutes before aborting build. (default: 60)
147 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
148 :java-version: Version of Java to use for the build. (default: openjdk11)
149 :mvn-global-settings: The name of the Maven global settings to use for
150 Maven configuration. (default: global-settings)
151 :mvn-goals: The maven goals to perform for the build.
152 (default: clean install)
153 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
154 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
155 :mvn-version: Version of maven to use. (default: mvn35)
156 :nexus-iq-namespace: Insert a namespace to project AppID for projects that
157 share a Nexus IQ system to avoid project name collision. We recommend
158 inserting a trailing - dash if using this parameter.
159 For example 'odl-'. (default: '')
160 :nexus-iq-stage: Sets the **stage** which the policy evaluation will run
161 against on the Nexus IQ Server. (default: 'build')
162 :stream: Keyword that represents a release code-name.
163 Often the same as the branch. (default: master)
164 :submodule-recursive: Whether to checkout submodules recursively.
166 :submodule-timeout: Timeout (in minutes) for checkout operation.
168 :submodule-disable: Disable submodule checkout operation.
171 :gerrit_merge_triggers: Override Gerrit Triggers.
173 Maven JavaDoc Publish
174 ---------------------
176 Produces and publishes javadocs for a Maven project.
178 Expects javadocs to be available in ``$WORKSPACE/target/site/apidocs``, but
179 overrideable with the ``mvn-dir`` parameter. If set, will search for javadocs
180 in ``$WORKSPACE/{mvn-dir}/target/site/apidocs``.
184 - {project-name}-maven-javadoc-publish-{stream}-{java-version}
185 - gerrit-maven-javadoc-publish
186 - github-maven-javadoc-publish
188 :Comment Trigger: remerge
190 :Required parameters:
192 :build-node: The node to run build on.
193 :javadoc-path: The path in Nexus to deploy javadoc to.
194 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
195 :mvn-settings: The name of settings file containing credentials for the project.
196 :mvn-site-id: Maven Server ID from settings.xml to pull credentials from.
197 (Note: This setting is generally configured in ``defaults.yaml``.)
199 :Optional parameters:
201 :branch: The branch to build against. (default: master)
202 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
203 :build-timeout: Timeout in minutes before aborting build. (default: 60)
204 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
205 :java-version: Version of Java to use for the build. (default: openjdk11)
206 :mvn-dir: Directory supplied as argument to -f option (default: '.')
207 :mvn-global-settings: The name of the Maven global settings to use for
208 Maven configuration. (default: global-settings)
209 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
210 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
211 Must not include a "-f" option; see parameter mvn-dir.
212 :mvn-version: Version of maven to use. (default: mvn35)
213 :stream: Keyword that represents a release code-name.
214 Often the same as the branch. (default: master)
215 :submodule-recursive: Whether to checkout submodules recursively.
217 :submodule-timeout: Timeout (in minutes) for checkout operation.
219 :submodule-disable: Disable submodule checkout operation.
222 :gerrit_merge_triggers: Override Gerrit Triggers.
227 Produces javadocs for a Maven project.
229 Expects javadocs to be available in ``$WORKSPACE/target/site/apidocs``, but
230 overrideable with the ``mvn-dir`` parameter. If set, will search for javadocs
231 in ``$WORKSPACE/{mvn-dir}/target/site/apidocs``.
235 - {project-name}-maven-javadoc-verify-{stream}-{java-version}
236 - gerrit-maven-javadoc-verify
237 - github-maven-javadoc-verify
239 :Comment Trigger: recheck|reverify
241 :Required parameters:
242 :build-node: The node to run build on.
243 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
244 :mvn-settings: The name of settings file containing credentials for the project.
246 :Optional parameters:
248 :branch: The branch to build against. (default: master)
249 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
250 :build-timeout: Timeout in minutes before aborting build. (default: 60)
251 :deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
252 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
253 :java-version: Version of Java to use for the build. (default: openjdk11)
254 :mvn-dir: Directory supplied as argument to -f option (default: '.')
255 :mvn-global-settings: The name of the Maven global settings to use for
256 Maven configuration. (default: global-settings)
257 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
258 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
259 Must not include a "-f" option; see parameter mvn-dir.
260 :mvn-version: Version of maven to use. (default: mvn35)
261 :stream: Keyword that represents a release code-name.
262 Often the same as the branch. (default: master)
263 :submodule-recursive: Whether to checkout submodules recursively.
265 :submodule-timeout: Timeout (in minutes) for checkout operation.
267 :submodule-disable: Disable submodule checkout operation.
270 :gerrit_verify_triggers: Override Gerrit Triggers.
275 Merge job which runs `mvn clean deploy` to build a project.
277 This job pushes files to Nexus using cURL instead of allowing the Maven deploy
278 goal to push the upload. This is to get around the issue that Maven deploy does
279 not properly support uploading files at the end of the build and instead pushes
280 as it goes. There exists a ``-Ddeploy-at-end`` feature but it does not work
283 This job uses the following strategy to deploy jobs to Nexus:
285 1. ``wget -r`` to fetch maven-metadata.xml from Nexus
286 2. ``mvn deploy -DaltDeploymentRepository`` to prepare files for upload
287 3. Removes untouched maven-metadata.xml files before upload
288 4. Use lftools (cURL) upload script to push artifacts to Nexus
292 - {project-name}-maven-merge-{stream}
296 :Comment Trigger: remerge
298 :Required parameters:
300 :build-node: The node to run build on.
301 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
302 :mvn-settings: The name of settings file containing credentials for the project.
303 :mvn-snapshot-id: Maven Server ID from settings.xml to pull credentials from.
304 (Note: This setting is generally configured in ``defaults.yaml``.)
305 :nexus-snapshot-repo: The repository id of the Nexus snapshot repo to deploy to.
307 :Optional parameters:
309 :branch: Git branch to fetch for the build. (default: master)
310 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
311 :build-timeout: Timeout in minutes before aborting build. (default: 60)
312 :cron: Cron schedule when to trigger the job. This parameter also
313 supports multiline input via YAML pipe | character in cases where
314 one may want to provide more than 1 cron timer. (default: 'H H * * 0'
316 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
317 :java-version: Version of Java to use for the build. (default: openjdk11)
318 :mvn-global-settings: The name of the Maven global settings to use for
319 Maven configuration. (default: global-settings)
320 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
321 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
322 :mvn-version: Version of maven to use. (default: mvn35)
323 :nexus-cut-dirs: Number of directories to cut from file path for `wget -r`.
324 :pre-build-script: Shell script to run before maven build. (default: a string with a shell comment)
325 :post-build-script: Shell script to run after maven build. (default: a string with a shell comment)
326 :stream: Keyword that represents a release code-name.
327 Often the same as the branch. (default: master)
328 :submodule-recursive: Whether to checkout submodules recursively.
330 :submodule-timeout: Timeout (in minutes) for checkout operation.
332 :submodule-disable: Disable submodule checkout operation.
335 :gerrit_merge_triggers: Override Gerrit Triggers.
336 :gerrit_trigger_file_paths: Override file paths to filter which file
337 modifications will trigger a build.
339 Maven Merge for Docker
340 ----------------------
342 Produces a snapshot docker image in a Nexus registry. Appropriate for
343 Java projects that do not need to deploy any POM or JAR files.
345 Like the Maven Merge job as described above but logs in to Docker
346 registries first and skips the lf-maven-deploy builder. The project
347 POM file should invoke a plugin to build and push a Docker image.
348 This pulls the base image from the registry in the environment
349 variable ``CONTAINER_PULL_REGISTRY`` and pushes new image into the
350 registry in the environment variable ``CONTAINER_PUSH_REGISTRY``.
354 - {project-name}-maven-docker-merge-{stream}
355 - gerrit-maven-docker-merge
356 - github-maven-docker-merge
358 :Required parameters:
360 :container-public-registry: Docker registry source with base images.
361 :container-snapshot-registry: Docker registry target for the deploy action.
363 All other required and optional parameters are identical to the Maven Merge job
369 Produces a release candidate by creating a staging repo in Nexus.
371 The staging repo name is in the format PROJECT-NUMBER for example "aaa-1234",
372 "autorelease-2000", "odlparent-1201", etc...
374 This job runs a Maven build and deploys to $WORKSPACE/m2repo directory. This
375 directory is then used later to deploy to Nexus.
379 - {project-name}-maven-stage-{stream}
383 :Comment Trigger: "stage-release" or "stage-maven-release"
385 :Required parameters:
387 :build-node: The node to run build on.
388 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
389 :mvn-settings: The name of settings file containing credentials for the project.
390 :mvn-staging-id: Maven Server ID from settings.xml to pull credentials from.
391 (Note: This setting is generally configured in ``defaults.yaml``.)
392 :staging-profile-id: Profile ID of the project's Nexus staging profile.
394 :Optional parameters:
396 :archive-artifacts: Artifacts to archive to the logs server (default: '').
397 :branch: The branch to build against. (default: master)
398 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
399 :build-timeout: Timeout in minutes before aborting build. (default: 60)
400 :cron: Cron schedule when to trigger the job. This parameter also
401 supports multiline input via YAML pipe | character in cases where
402 one may want to provide more than 1 cron timer. (default: '')
403 :deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
404 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
405 :java-version: Version of Java to use for the build. (default: openjdk11)
406 :mvn-central: Set to ``true`` to also stage to **OSSRH**. This is for projects
407 that want to release to Maven Central. If set, then also set the parameter
408 ``ossrh-profile-id``. (default: false)
409 :maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
410 :mvn-global-settings: The name of the Maven global settings to use for
411 Maven configuration. (default: global-settings)
412 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
413 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
414 :mvn-version: Version of maven to use. (default: mvn35)
415 :ossrh-profile-id: Profile ID for project as provided by OSSRH.
417 :sbom-flags: SBOM generator options if using sbom-generator.
418 See https://github.com/opensbom-generator/spdx-sbom-generator
419 :sbom-generator: Calls lf-infra-maven-sbom-generator to run the SPDX SBOM generator tool.
421 :sbom-generator-version: SBOM generator version to download and run if using sbom-generator.
423 :sbom-path: Path where SBOM is going to be executed from.
424 (default: $WORKSPACE)
425 :sign-artifacts: Sign artifacts with Sigul. (default: false)
426 :stream: Keyword that represents a release code-name.
427 Often the same as the branch. (default: master)
428 :submodule-recursive: Whether to checkout submodules recursively.
430 :submodule-timeout: Timeout (in minutes) for checkout operation.
432 :submodule-disable: Disable submodule checkout operation.
434 :version-properties-file: Name and path of the version properties file.
435 (default: version.properties)
437 :gerrit_release_triggers: Override Gerrit Triggers.
438 :gerrit_trigger_file_paths: Override file paths to filter which file
439 modifications will trigger a build.
441 Maven Stage for Docker
442 ----------------------
444 Produces a release candidate docker image in a Nexus registry.
445 Appropriate for Java projects that do not need to deploy any POM or
448 Like the Maven Stage job as described above but logs in to Docker
449 registries first and skips the lf-maven-deploy builder. The project
450 POM file should invoke a plugin to build and push a Docker image.
451 This pulls the base image from the registry in the environment
452 variable ``CONTAINER_PULL_REGISTRY`` and pushes new image into the
453 registry in the environment variable ``CONTAINER_PUSH_REGISTRY``.
457 - {project-name}-maven-docker-stage-{stream}
458 - gerrit-maven-docker-stage
459 - github-maven-docker-stage
461 :Comment Trigger: "stage-release" or "stage-docker-release"
463 :Required parameters:
465 :container-public-registry: Docker registry source with base images.
466 :container-staging-registry: Docker registry target for the deploy action.
468 :Optional parameters:
470 :gerrit_release_docker_triggers: Override Gerrit Triggers.
472 All other required and optional parameters are identical to the Maven Stage job
480 Sonar job which runs mvn clean install then publishes to Sonar.
482 This job purposely runs on the ``master`` branch and does not support
483 multi-branch configuration.
487 - {project-name}-sonar
490 - {project-name}-sonar-prescan-script
491 - gerrit-maven-sonar-prescan-script
492 - github-maven-sonar-prescan-script
494 :Comment Trigger: run-sonar
496 :Required parameters:
498 :build-node: The node to run build on.
499 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
500 :mvn-settings: The name of settings file containing credentials for the project.
501 :sonar-prescan-script: (maven-sonar-prescan-script jobs) A shell script to run before
504 :Optional parameters:
506 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
507 :build-timeout: Timeout in minutes before aborting build. (default: 60)
508 :cron: Cron schedule when to trigger the job. This parameter also
509 supports multiline input via YAML pipe | character in cases where
510 one may want to provide more than 1 cron timer. (default: 'H H * * 6'
512 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
513 :java-version: Version of Java to use for the Maven build. (default: openjdk11)
514 :mvn-global-settings: The name of the Maven global settings to use for
515 Maven configuration. (default: global-settings)
516 :mvn-goals: The maven goals to perform for the build.
517 (default: clean install)
518 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
519 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
520 :mvn-version: Version of maven to use. (default: mvn35)
521 :sonar-mvn-goals: Maven goals to run for sonar analysis.
522 (default: sonar:sonar)
523 :sonarcloud: Set to ``true`` to use SonarCloud ``true|false``.
525 :sonarcloud-project-key: SonarCloud project key. (default: '')
526 :sonarcloud-project-organization: SonarCloud project organization.
528 :sonarcloud-api-token-cred-id: Jenkins credential ID which has the SonarCloud API Token.
529 This one SHOULDN'T be overwritten as per we are standarizing the credential ID for all
530 projects (default: 'sonarcloud-api-token')
531 :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
532 :stream: Keyword that represents a release code-name.
533 Often the same as the branch. (default: master)
534 :submodule-recursive: Whether to checkout submodules recursively.
536 :submodule-timeout: Timeout (in minutes) for checkout operation.
538 :submodule-disable: Disable submodule checkout operation.
540 :scan-dev-branch: Run the scan on a developer branch.
543 :gerrit_sonar_triggers: Override Gerrit Triggers.
548 .. literalinclude:: ../../.jjb-test/lf-maven-jobs/maven-sonarcloud.yaml
554 Sonar job which runs mvn clean install then publishes to Sonar.
556 This job runs on dev branches and its triggered on new patchsets.
560 - {project-name}-sonar-verify
561 - gerrit-maven-sonar-verify
563 :Comment Trigger: recheck|reverify
565 :Required parameters:
567 :build-node: The node to run build on.
568 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
569 :mvn-settings: The name of settings file containing credentials for the project.
571 :Optional parameters:
573 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
574 :build-timeout: Timeout in minutes before aborting build. (default: 60)
575 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
576 :java-version: Version of Java to use for the Maven build. (default: openjdk11)
577 :mvn-global-settings: The name of the Maven global settings to use for
578 Maven configuration. (default: global-settings)
579 :mvn-goals: The maven goals to perform for the build.
580 (default: clean install)
581 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
582 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
583 :mvn-version: Version of maven to use. (default: mvn35)
584 :pre-build-script: Shell script to run before maven build. (default: a string with a shell comment)
585 :post-build-script: Shell script to run after maven build. (default: a string with a shell comment)
586 :sonar-mvn-goal: Maven goals to run for sonar analysis.
587 (default: sonar:sonar)
588 :sonarcloud: Set to ``true`` to use SonarCloud ``true|false``.
590 :sonarcloud-project-key: SonarCloud project key. (default: '')
591 :sonarcloud-project-organization: SonarCloud project organization.
593 :sonarcloud-api-token-cred-id: Jenkins credential ID which has the SonarCloud API Token.
594 This one SHOULDN'T be overwritten as per we are standarizing the credential ID for all
595 projects (default: 'sonarcloud-api-token')
596 :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
597 :sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
598 wait for the quality gate result. (default: false)
599 :stream: Keyword that represents a release code-name.
600 Often the same as the branch. (default: master)
601 :submodule-recursive: Whether to checkout submodules recursively.
603 :submodule-timeout: Timeout (in minutes) for checkout operation.
605 :submodule-disable: Disable submodule checkout operation.
607 :scan-dev-branch: Run the scan on a developer branch.
610 :gerrit_sonar_triggers: Override Gerrit Triggers.
615 .. literalinclude:: ../../.jjb-test/lf-maven-jobs/maven-sonarcloud.yaml
621 Verify job which runs mvn clean install to test a project build..
625 - {project-name}-maven-verify-{stream}-{mvn-version}-{java-version}
626 - gerrit-maven-verify
627 - github-maven-verify
629 :Comment Trigger: recheck|reverify
631 :Required parameters:
633 :build-node: The node to run build on.
634 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
635 :mvn-settings: The name of settings file containing credentials for the project.
637 :Optional parameters:
639 :branch: Git branch to fetch for the build. (default: master)
640 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
641 :build-timeout: Timeout in minutes before aborting build. (default: 60)
642 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
643 :java-version: Version of Java to use for the build. (default: openjdk11)
644 :mvn-global-settings: The name of the Maven global settings to use for
645 Maven configuration. (default: global-settings)
646 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
647 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
648 :mvn-version: Version of maven to use. (default: mvn35)
649 :stream: Keyword that represents a release code-name.
650 Often the same as the branch. (default: master)
651 :submodule-recursive: Whether to checkout submodules recursively.
653 :submodule-timeout: Timeout (in minutes) for checkout operation.
655 :submodule-disable: Disable submodule checkout operation.
658 :gerrit_verify_triggers: Override Gerrit Triggers.
659 :gerrit_trigger_file_paths: Override file paths to filter which file
660 modifications will trigger a build.
662 Maven Verify for Docker
663 -----------------------
665 Like the Maven Verify job as described above but logs in to Docker
666 registries first. The project POM file should invoke a plugin to build
667 a Docker image. This pulls the base image from the registry in the environment
668 variable ``CONTAINER_PULL_REGISTRY``.
672 - {project-name}-maven-docker-verify-{stream}-{mvn-version}-{java-version}
673 - gerrit-maven-docker-verify
674 - github-maven-docker-verify
676 :Required parameters:
678 :container-public-registry: Docker registry source with base images.
680 All other required and optional parameters are identical to the Maven Verify job
683 Maven Verify w/ Dependencies
684 ----------------------------
686 Verify job which runs mvn clean install to test a project build /w deps
688 This job's purpose is to verify a patch in conjunction to a list of upstream
689 patches it depends on. The user of this job can provide a list of patches via
694 - {project-name}-maven-verify-deps-{stream}-{mvn-version}-{java-version}
695 - gerrit-maven-verify-dependencies
697 :Comment Trigger: recheck: SPACE_SEPARATED_LIST_OF_PATCHES
699 :Required parameters:
701 :build-node: The node to run build on.
702 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
703 :mvn-settings: The name of settings file containing credentials for the project.
705 :Optional parameters:
707 :branch: Git branch to fetch for the build. (default: master)
708 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
709 :build-timeout: Timeout in minutes before aborting build. (default: 60)
710 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
711 :java-version: Version of Java to use for the build. (default: openjdk11)
712 :mvn-global-settings: The name of the Maven global settings to use for
713 Maven configuration. (default: global-settings)
714 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
715 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
716 :mvn-version: Version of maven to use. (default: mvn35)
717 :stream: Keyword that represents a release code-name.
718 Often the same as the branch. (default: master)
719 :submodule-recursive: Whether to checkout submodules recursively.
721 :submodule-timeout: Timeout (in minutes) for checkout operation.
723 :submodule-disable: Disable submodule checkout operation.
726 :gerrit_verify_triggers: Override Gerrit Triggers.
727 :gerrit_trigger_file_paths: Override file paths to filter which file
728 modifications will trigger a build.