commit | d0ffd610988e4966e9b9a95d746ad6efa433c8c0 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Fri Jul 08 20:02:10 2022 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Fri Jul 08 20:09:42 2022 +0200 |
tree | ea8524df55ef674b811c345873dfdaa640a906d9 | |
parent | ab15099217ee5d55fe3958c1370aa374f051502d [diff] |
gerrit-verifier: Remove left over toolchain option Since Ieb0d627ce5 Java 8 is used on stable-3.4 branch to guarantee source level compatibility. That's why we don't need to pass java 8 toolchain option for build on stable-3.4 branch. On all other supported branches Java 11 is used per default. That's why we don't need to pass java 11 toolchain option for builds on stable-3.5 and more recent stable branches. Given that we don't provide toolchain option any more, we can remove it entirely. Change-Id: I318ba9c45505fb6102c234711696e6b9964f5d28
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/