commit | 52cf3c03fec4033592deb1b83106ae30813a5c25 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Fri Feb 02 15:34:42 2024 +0100 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Tue Mar 26 23:30:38 2024 +0000 |
tree | 8b139b76441ae93aaa47c6463c794d088c02697d | |
parent | e1fa437a0ff468ec29a7be04d3ca9bbb620cc046 [diff] |
Configure 3.8 and 3.9 builds for the code-owners plugin The master version of the code owners plugin is no longer compatible with Gerrit 3.8 and 3.9. Hence the branches stable-3.8 and stable-3.9 were created for this plugin. Adapt the build jobs to this change. Change-Id: Id5b0d2908b7c97b5440e78a79b338d1fda9dbc95
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/