Issue: RELENG-4763
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I24aa3a8a8982a048d760d3012b9645e2689e8996
- gerrit-gradle-build
project-name: gerrit-gradle
+ mvn-settings: gerrit-maven-project-settings
- project:
name: github-gradle-jobs
github-org: fake-org
project-name: github-gradle
+ mvn-settings: gerrit-maven-project-settings
- project:
name: gradle-jobs-view
- project-view
project-name: gradle
+ mvn-settings: gerrit-maven-project-settings
: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)
+ :mvn-settings: Maven settings.xml file containing credentials to use.
:Optional parameters:
- lf-infra-pre-build
- lf-update-java-alternatives:
java-version: "{java-version}"
+ - lf-infra-docker-login:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
- shell: |
./gradlew build
<<: *lf_gradle_common
builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - lf-infra-docker-login:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
- shell: |
./gradlew build
--- /dev/null
+---
+fixes:
+ - |
+ Gradle build job needs to run docker login step to allow
+ docker operations and access to Nexus3.