Issue: RELENG-4769
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I50eb766d7b60e8da8ff3eafbda1d9fc4f2e817ca
:Required parameters:
:build-node: The node to run build on.
+ :java-version: Version of Java to execute Maven build. (default: openjdk17)
:jenkins-ssh-credential: Credential to use for SSH. (Generally configured in defaults.yaml)
:Optional parameters:
<<: *lf_gradle_common
builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
- shell: |
./gradlew build
--- /dev/null
+---
+fixes:
+ - |
+ Add a JDK configuration step in the Gradle based jobs.