commit | 689ac86db0eff80f4fc0d5c2f9f296432dd5751e | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Mon Nov 04 22:46:53 2024 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Tue Nov 12 13:49:10 2024 +0000 |
tree | 9295348562b234410d265104b0abd8824bc93c16 | |
parent | f0261459e075e7c9fe8dcd1030ba0e77b6d5f7ae [diff] |
Allow releasing stable-3.11 on java21 Although Gerrit stable-3.11 is officially supported on Java 21, the build process currently defaults to Java 17 pending the approval of [1]. This change allows building and releasing Gerrit 3.11 on Java 21 by passing --config=java21 through all relevant build steps, including the WAR and API artifacts. [1] https://gerrit-review.googlesource.com/c/gerrit/+/387837 Change-Id: I74acc5d230561f8d81ab2f115ba37e33bcd023aa
This project uses Jenkins Jobs Builder [1] to generate jobs from yaml descriptor files.
To add new jobs reuse existing templates, defaults etc. as much as possible. E.g. adding a job to build an additional branch of a project may be as easy as adding the name of the branch to an existing project.
To ensure well readable yaml-files, use yamllint [2] to lint the yaml-files. Yamllint can be downloaded using Python Pip:
pip3 install --require-hashes yamllint
To run the linter, execute this command from the project's root directory:
yamllint -c yamllint-config.yaml jenkins/**/*.yaml
Yamllint will not fix detected issues itself.
[1] https://docs.openstack.org/infra/jenkins-job-builder/index.html [2] https://pypi.org/project/yamllint/