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-api-token: SonarCloud API Token.
43 :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: openjdk11)
44 :sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
45 wait for the quality gate result. (default: false)
50 Calls the maven build script to perform a maven build.
54 :mvn-goals: The maven goals to perform for the build.
55 (default: clean deploy)
60 Common Jenkins configuration for Maven jobs.
65 Calls the maven deploy script to push artifacts to Nexus.
67 lf-maven-versions-plugin
68 ------------------------
70 Conditionally calls Maven versions plugin to set, update and commit the maven `versions:set`.
74 :maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
75 :version-properties-file: Name and path of the version properties file.
76 (default: version.properties)
77 :mvn-version: Version of Maven to execute Sonar with.
78 :mvn-pom: Location of pom.xml.
79 :mvn-settings: Maven settings.xml file containing credentials to use.
84 Calls the maven stage script to push artifacts to a Nexus staging repository.
88 :mvn-global-settings: The name of the Maven global settings to use for
90 :mvn-settings: The name of settings file containing credentials for the project.
92 lf-update-java-alternatives
93 ---------------------------
95 Setup Java alternatives for the Distro.
99 :java-version: Version of Java to set as the default Java.
102 lf-infra-sonatype-clm
103 ---------------------
105 Runs a Sonatype CLM scan against a Maven project and pushes results to
108 :Optional parameters:
109 :mvn-goals: The maven goals to perform for the build.
110 (default: clean install)
112 lf-infra-maven-sbom-generator
113 -----------------------------
115 Runs a specific version of SPDX SBOM Generator tool to generate a report.
116 The calling job template sets the version to run in the SBOM_GENERATOR_VERSION parameter.
118 :Optional parameters:
119 :sbom-flags: SBOM generator options. See https://github.com/opensbom-generator/spdx-sbom-generator
127 Produces a CLM scan of the code into Nexus IQ Server.
131 - {project-name}-maven-clm-{stream}
135 :Comment Trigger: run-clm
137 :Required parameters:
139 :build-node: The node to run build on.
140 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
141 :mvn-settings: The name of settings file containing credentials for the project.
143 :Optional parameters:
145 :branch: The branch to build against. (default: master)
146 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
147 :build-timeout: Timeout in minutes before aborting build. (default: 60)
148 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
149 :java-version: Version of Java to use for the build. (default: openjdk11)
150 :mvn-global-settings: The name of the Maven global settings to use for
151 Maven configuration. (default: global-settings)
152 :mvn-goals: The maven goals to perform for the build.
153 (default: clean install)
154 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
155 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
156 :mvn-version: Version of maven to use. (default: mvn35)
157 :nexus-iq-namespace: Insert a namespace to project AppID for projects that
158 share a Nexus IQ system to avoid project name collision. We recommend
159 inserting a trailing - dash if using this parameter.
160 For example 'odl-'. (default: '')
161 :nexus-iq-stage: Sets the **stage** which the policy evaluation will run
162 against on the Nexus IQ Server. (default: 'build')
163 :stream: Keyword that represents a release code-name.
164 Often the same as the branch. (default: master)
165 :submodule-recursive: Whether to checkout submodules recursively.
167 :submodule-timeout: Timeout (in minutes) for checkout operation.
169 :submodule-disable: Disable submodule checkout operation.
172 :gerrit_merge_triggers: Override Gerrit Triggers.
174 Maven JavaDoc Publish
175 ---------------------
177 Produces and publishes javadocs for a Maven project.
179 Expects javadocs to be available in ``$WORKSPACE/target/site/apidocs``, but
180 overrideable with the ``mvn-dir`` parameter. If set, will search for javadocs
181 in ``$WORKSPACE/{mvn-dir}/target/site/apidocs``.
185 - {project-name}-maven-javadoc-publish-{stream}-{java-version}
186 - gerrit-maven-javadoc-publish
187 - github-maven-javadoc-publish
189 :Comment Trigger: remerge
191 :Required parameters:
193 :build-node: The node to run build on.
194 :javadoc-path: The path in Nexus to deploy javadoc to.
195 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
196 :mvn-settings: The name of settings file containing credentials for the project.
197 :mvn-site-id: Maven Server ID from settings.xml to pull credentials from.
198 (Note: This setting is generally configured in ``defaults.yaml``.)
200 :Optional parameters:
202 :branch: The branch to build against. (default: master)
203 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
204 :build-timeout: Timeout in minutes before aborting build. (default: 60)
205 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
206 :java-version: Version of Java to use for the build. (default: openjdk11)
207 :mvn-dir: Directory supplied as argument to -f option (default: '.')
208 :mvn-global-settings: The name of the Maven global settings to use for
209 Maven configuration. (default: global-settings)
210 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
211 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
212 Must not include a "-f" option; see parameter mvn-dir.
213 :mvn-version: Version of maven to use. (default: mvn35)
214 :stream: Keyword that represents a release code-name.
215 Often the same as the branch. (default: master)
216 :submodule-recursive: Whether to checkout submodules recursively.
218 :submodule-timeout: Timeout (in minutes) for checkout operation.
220 :submodule-disable: Disable submodule checkout operation.
223 :gerrit_merge_triggers: Override Gerrit Triggers.
228 Produces javadocs for a Maven project.
230 Expects javadocs to be available in ``$WORKSPACE/target/site/apidocs``, but
231 overrideable with the ``mvn-dir`` parameter. If set, will search for javadocs
232 in ``$WORKSPACE/{mvn-dir}/target/site/apidocs``.
236 - {project-name}-maven-javadoc-verify-{stream}-{java-version}
237 - gerrit-maven-javadoc-verify
238 - github-maven-javadoc-verify
240 :Comment Trigger: recheck|reverify
242 :Required parameters:
243 :build-node: The node to run build on.
244 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
245 :mvn-settings: The name of settings file containing credentials for the project.
247 :Optional parameters:
249 :branch: The branch to build against. (default: master)
250 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
251 :build-timeout: Timeout in minutes before aborting build. (default: 60)
252 :deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
253 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
254 :java-version: Version of Java to use for the build. (default: openjdk11)
255 :mvn-dir: Directory supplied as argument to -f option (default: '.')
256 :mvn-global-settings: The name of the Maven global settings to use for
257 Maven configuration. (default: global-settings)
258 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
259 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
260 Must not include a "-f" option; see parameter mvn-dir.
261 :mvn-version: Version of maven to use. (default: mvn35)
262 :stream: Keyword that represents a release code-name.
263 Often the same as the branch. (default: master)
264 :submodule-recursive: Whether to checkout submodules recursively.
266 :submodule-timeout: Timeout (in minutes) for checkout operation.
268 :submodule-disable: Disable submodule checkout operation.
271 :gerrit_verify_triggers: Override Gerrit Triggers.
276 Merge job which runs `mvn clean deploy` to build a project.
278 This job pushes files to Nexus using cURL instead of allowing the Maven deploy
279 goal to push the upload. This is to get around the issue that Maven deploy does
280 not properly support uploading files at the end of the build and instead pushes
281 as it goes. There exists a ``-Ddeploy-at-end`` feature but it does not work
284 This job uses the following strategy to deploy jobs to Nexus:
286 1. ``wget -r`` to fetch maven-metadata.xml from Nexus
287 2. ``mvn deploy -DaltDeploymentRepository`` to prepare files for upload
288 3. Removes untouched maven-metadata.xml files before upload
289 4. Use lftools (cURL) upload script to push artifacts to Nexus
293 - {project-name}-maven-merge-{stream}
297 :Comment Trigger: remerge
299 :Required parameters:
301 :build-node: The node to run build on.
302 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
303 :mvn-settings: The name of settings file containing credentials for the project.
304 :mvn-snapshot-id: Maven Server ID from settings.xml to pull credentials from.
305 (Note: This setting is generally configured in ``defaults.yaml``.)
306 :nexus-snapshot-repo: The repository id of the Nexus snapshot repo to deploy to.
308 :Optional parameters:
310 :branch: Git branch to fetch for the build. (default: master)
311 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
312 :build-timeout: Timeout in minutes before aborting build. (default: 60)
313 :cron: Cron schedule when to trigger the job. This parameter also
314 supports multiline input via YAML pipe | character in cases where
315 one may want to provide more than 1 cron timer. (default: 'H H * * 0'
317 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
318 :java-version: Version of Java to use for the build. (default: openjdk11)
319 :mvn-global-settings: The name of the Maven global settings to use for
320 Maven configuration. (default: global-settings)
321 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
322 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
323 :mvn-version: Version of maven to use. (default: mvn35)
324 :nexus-cut-dirs: Number of directories to cut from file path for `wget -r`.
325 :pre-build-script: Shell script to run before maven build. (default: a string with a shell comment)
326 :post-build-script: Shell script to run after maven build. (default: a string with a shell comment)
327 :stream: Keyword that represents a release code-name.
328 Often the same as the branch. (default: master)
329 :submodule-recursive: Whether to checkout submodules recursively.
331 :submodule-timeout: Timeout (in minutes) for checkout operation.
333 :submodule-disable: Disable submodule checkout operation.
336 :gerrit_merge_triggers: Override Gerrit Triggers.
337 :gerrit_trigger_file_paths: Override file paths to filter which file
338 modifications will trigger a build.
340 Maven Merge for Docker
341 ----------------------
343 Produces a snapshot docker image in a Nexus registry. Appropriate for
344 Java projects that do not need to deploy any POM or JAR files.
346 Like the Maven Merge job as described above but logs in to Docker
347 registries first and skips the lf-maven-deploy builder. The project
348 POM file should invoke a plugin to build and push a Docker image.
349 This pulls the base image from the registry in the environment
350 variable ``CONTAINER_PULL_REGISTRY`` and pushes new image into the
351 registry in the environment variable ``CONTAINER_PUSH_REGISTRY``.
355 - {project-name}-maven-docker-merge-{stream}
356 - gerrit-maven-docker-merge
357 - github-maven-docker-merge
359 :Required parameters:
361 :container-public-registry: Docker registry source with base images.
362 :container-snapshot-registry: Docker registry target for the deploy action.
364 All other required and optional parameters are identical to the Maven Merge job
370 Produces a release candidate by creating a staging repo in Nexus.
372 The staging repo name is in the format PROJECT-NUMBER for example "aaa-1234",
373 "autorelease-2000", "odlparent-1201", etc...
375 This job runs a Maven build and deploys to $WORKSPACE/m2repo directory. This
376 directory is then used later to deploy to Nexus.
380 - {project-name}-maven-stage-{stream}
384 :Comment Trigger: "stage-release" or "stage-maven-release"
386 :Required parameters:
388 :build-node: The node to run build on.
389 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
390 :mvn-settings: The name of settings file containing credentials for the project.
391 :mvn-staging-id: Maven Server ID from settings.xml to pull credentials from.
392 (Note: This setting is generally configured in ``defaults.yaml``.)
393 :staging-profile-id: Profile ID of the project's Nexus staging profile.
395 :Optional parameters:
397 :archive-artifacts: Artifacts to archive to the logs server (default: '').
398 :branch: The branch to build against. (default: master)
399 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
400 :build-timeout: Timeout in minutes before aborting build. (default: 60)
401 :cron: Cron schedule when to trigger the job. This parameter also
402 supports multiline input via YAML pipe | character in cases where
403 one may want to provide more than 1 cron timer. (default: '')
404 :deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
405 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
406 :java-version: Version of Java to use for the build. (default: openjdk11)
407 :mvn-central: Set to ``true`` to also stage to **OSSRH**. This is for projects
408 that want to release to Maven Central. If set, then also set the parameter
409 ``ossrh-profile-id``. (default: false)
410 :maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
411 :mvn-global-settings: The name of the Maven global settings to use for
412 Maven configuration. (default: global-settings)
413 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
414 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
415 :mvn-version: Version of maven to use. (default: mvn35)
416 :ossrh-profile-id: Profile ID for project as provided by OSSRH.
418 :sbom-flags: SBOM generator options if using sbom-generator.
419 See https://github.com/opensbom-generator/spdx-sbom-generator
420 :sbom-generator: Calls lf-infra-maven-sbom-generator to run the SPDX SBOM generator tool.
422 :sbom-generator-version: SBOM generator version to download and run if using sbom-generator.
424 :sbom-path: Path where SBOM is going to be executed from.
425 (default: $WORKSPACE)
426 :sign-artifacts: Sign artifacts with Sigul. (default: false)
427 :stream: Keyword that represents a release code-name.
428 Often the same as the branch. (default: master)
429 :submodule-recursive: Whether to checkout submodules recursively.
431 :submodule-timeout: Timeout (in minutes) for checkout operation.
433 :submodule-disable: Disable submodule checkout operation.
435 :version-properties-file: Name and path of the version properties file.
436 (default: version.properties)
438 :gerrit_release_triggers: Override Gerrit Triggers.
439 :gerrit_trigger_file_paths: Override file paths to filter which file
440 modifications will trigger a build.
442 Maven Stage for Docker
443 ----------------------
445 Produces a release candidate docker image in a Nexus registry.
446 Appropriate for Java projects that do not need to deploy any POM or
449 Like the Maven Stage job as described above but logs in to Docker
450 registries first and skips the lf-maven-deploy builder. The project
451 POM file should invoke a plugin to build and push a Docker image.
452 This pulls the base image from the registry in the environment
453 variable ``CONTAINER_PULL_REGISTRY`` and pushes new image into the
454 registry in the environment variable ``CONTAINER_PUSH_REGISTRY``.
458 - {project-name}-maven-docker-stage-{stream}
459 - gerrit-maven-docker-stage
460 - github-maven-docker-stage
462 :Comment Trigger: "stage-release" or "stage-docker-release"
464 :Required parameters:
466 :container-public-registry: Docker registry source with base images.
467 :container-staging-registry: Docker registry target for the deploy action.
469 :Optional parameters:
471 :gerrit_release_docker_triggers: Override Gerrit Triggers.
473 All other required and optional parameters are identical to the Maven Stage job
481 Sonar job which runs mvn clean install then publishes to Sonar.
483 This job purposely runs on the ``master`` branch and does not support
484 multi-branch configuration.
488 - {project-name}-sonar
491 - {project-name}-sonar-prescan-script
492 - gerrit-maven-sonar-prescan-script
493 - github-maven-sonar-prescan-script
495 :Comment Trigger: run-sonar
497 :Required parameters:
499 :build-node: The node to run build on.
500 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
501 :mvn-settings: The name of settings file containing credentials for the project.
502 :sonar-prescan-script: (maven-sonar-prescan-script jobs) A shell script to run before
505 :Optional parameters:
507 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
508 :build-timeout: Timeout in minutes before aborting build. (default: 60)
509 :cron: Cron schedule when to trigger the job. This parameter also
510 supports multiline input via YAML pipe | character in cases where
511 one may want to provide more than 1 cron timer. (default: 'H H * * 6'
513 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
514 :java-version: Version of Java to use for the Maven build. (default: openjdk11)
515 :mvn-global-settings: The name of the Maven global settings to use for
516 Maven configuration. (default: global-settings)
517 :mvn-goals: The maven goals to perform for the build.
518 (default: clean install)
519 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
520 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
521 :mvn-version: Version of maven to use. (default: mvn35)
522 :sonar-mvn-goals: Maven goals to run for sonar analysis.
523 (default: sonar:sonar)
524 :sonarcloud: Set to ``true`` to use SonarCloud ``true|false``.
526 :sonarcloud-project-key: SonarCloud project key. (default: '')
527 :sonarcloud-project-organization: SonarCloud project organization.
529 :sonarcloud-api-token: SonarCloud API Token. (default: '')
530 :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
531 :stream: Keyword that represents a release code-name.
532 Often the same as the branch. (default: master)
533 :submodule-recursive: Whether to checkout submodules recursively.
535 :submodule-timeout: Timeout (in minutes) for checkout operation.
537 :submodule-disable: Disable submodule checkout operation.
539 :scan-dev-branch: Run the scan on a developer branch.
542 :gerrit_sonar_triggers: Override Gerrit Triggers.
547 .. literalinclude:: ../../.jjb-test/lf-maven-jobs/maven-sonarcloud.yaml
553 Sonar job which runs mvn clean install then publishes to Sonar.
555 This job runs on dev branches and its triggered on new patchsets.
559 - {project-name}-sonar-verify
560 - gerrit-maven-sonar-verify
562 :Comment Trigger: recheck|reverify
564 :Required parameters:
566 :build-node: The node to run build on.
567 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
568 :mvn-settings: The name of settings file containing credentials for the project.
570 :Optional parameters:
572 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
573 :build-timeout: Timeout in minutes before aborting build. (default: 60)
574 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
575 :java-version: Version of Java to use for the Maven build. (default: openjdk11)
576 :mvn-global-settings: The name of the Maven global settings to use for
577 Maven configuration. (default: global-settings)
578 :mvn-goals: The maven goals to perform for the build.
579 (default: clean install)
580 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
581 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
582 :mvn-version: Version of maven to use. (default: mvn35)
583 :pre-build-script: Shell script to run before maven build. (default: a string with a shell comment)
584 :post-build-script: Shell script to run after maven build. (default: a string with a shell comment)
585 :sonar-mvn-goal: Maven goals to run for sonar analysis.
586 (default: sonar:sonar)
587 :sonarcloud: Set to ``true`` to use SonarCloud ``true|false``.
589 :sonarcloud-project-key: SonarCloud project key. (default: '')
590 :sonarcloud-project-organization: SonarCloud project organization.
592 :sonarcloud-api-token: SonarCloud API Token. (default: '')
593 :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
594 :sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
595 wait for the quality gate result. (default: false)
596 :stream: Keyword that represents a release code-name.
597 Often the same as the branch. (default: master)
598 :submodule-recursive: Whether to checkout submodules recursively.
600 :submodule-timeout: Timeout (in minutes) for checkout operation.
602 :submodule-disable: Disable submodule checkout operation.
604 :scan-dev-branch: Run the scan on a developer branch.
607 :gerrit_sonar_triggers: Override Gerrit Triggers.
612 .. literalinclude:: ../../.jjb-test/lf-maven-jobs/maven-sonarcloud.yaml
618 Verify job which runs mvn clean install to test a project build..
622 - {project-name}-maven-verify-{stream}-{mvn-version}-{java-version}
623 - gerrit-maven-verify
624 - github-maven-verify
626 :Comment Trigger: recheck|reverify
628 :Required parameters:
630 :build-node: The node to run build on.
631 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
632 :mvn-settings: The name of settings file containing credentials for the project.
634 :Optional parameters:
636 :branch: Git branch to fetch for the build. (default: master)
637 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
638 :build-timeout: Timeout in minutes before aborting build. (default: 60)
639 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
640 :java-version: Version of Java to use for the build. (default: openjdk11)
641 :mvn-global-settings: The name of the Maven global settings to use for
642 Maven configuration. (default: global-settings)
643 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
644 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
645 :mvn-version: Version of maven to use. (default: mvn35)
646 :stream: Keyword that represents a release code-name.
647 Often the same as the branch. (default: master)
648 :submodule-recursive: Whether to checkout submodules recursively.
650 :submodule-timeout: Timeout (in minutes) for checkout operation.
652 :submodule-disable: Disable submodule checkout operation.
655 :gerrit_verify_triggers: Override Gerrit Triggers.
656 :gerrit_trigger_file_paths: Override file paths to filter which file
657 modifications will trigger a build.
659 Maven Verify for Docker
660 -----------------------
662 Like the Maven Verify job as described above but logs in to Docker
663 registries first. The project POM file should invoke a plugin to build
664 a Docker image. This pulls the base image from the registry in the environment
665 variable ``CONTAINER_PULL_REGISTRY``.
669 - {project-name}-maven-docker-verify-{stream}-{mvn-version}-{java-version}
670 - gerrit-maven-docker-verify
671 - github-maven-docker-verify
673 :Required parameters:
675 :container-public-registry: Docker registry source with base images.
677 All other required and optional parameters are identical to the Maven Verify job
680 Maven Verify w/ Dependencies
681 ----------------------------
683 Verify job which runs mvn clean install to test a project build /w deps
685 This job's purpose is to verify a patch in conjunction to a list of upstream
686 patches it depends on. The user of this job can provide a list of patches via
691 - {project-name}-maven-verify-deps-{stream}-{mvn-version}-{java-version}
692 - gerrit-maven-verify-dependencies
694 :Comment Trigger: recheck: SPACE_SEPARATED_LIST_OF_PATCHES
696 :Required parameters:
698 :build-node: The node to run build on.
699 :jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
700 :mvn-settings: The name of settings file containing credentials for the project.
702 :Optional parameters:
704 :branch: Git branch to fetch for the build. (default: master)
705 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
706 :build-timeout: Timeout in minutes before aborting build. (default: 60)
707 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
708 :java-version: Version of Java to use for the build. (default: openjdk11)
709 :mvn-global-settings: The name of the Maven global settings to use for
710 Maven configuration. (default: global-settings)
711 :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
712 :mvn-params: Parameters to pass to the mvn CLI. (default: '')
713 :mvn-version: Version of maven to use. (default: mvn35)
714 :stream: Keyword that represents a release code-name.
715 Often the same as the branch. (default: master)
716 :submodule-recursive: Whether to checkout submodules recursively.
718 :submodule-timeout: Timeout (in minutes) for checkout operation.
720 :submodule-disable: Disable submodule checkout operation.
723 :gerrit_verify_triggers: Override Gerrit Triggers.
724 :gerrit_trigger_file_paths: Override file paths to filter which file
725 modifications will trigger a build.