commit | 2a3f6092f43831b9113cd1ae3cc5ca9ecf63fe05 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Oct 05 23:53:48 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Oct 06 00:21:46 2020 +0100 |
tree | 922c5158e3feabb18d1c21c338881ceb9b054c07 | |
parent | 79782a6d958a9b62cb84647c4eb501d561836e0d [diff] |
Keep both Java8 and Java11 Gerrit builds Keep building and validating Gerrit on Java8 for all branches, including master. Introduce Java11 builds for stable-3.2 and master, using the new defaults java tool chains. Depends-On: https://gerrit-review.googlesource.com/c/gerrit/+/264535 Change-Id: Ief17bcd4fa4a0725f83db1bc3cb93e2a41b0aaef
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 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/