commit | 1322aebf72beed661b4f3f2986a1eea6a44d71f6 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue May 11 08:38:51 2021 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Sep 09 21:23:25 2021 +0000 |
tree | acbf3fdd5dc0ccd4e7f66dcb52aad27de215c379 | |
parent | a9619b84c395711eeeae4581990e1475a04857a3 [diff] |
Build code-owners plugin on its own stable-3.4 branch Change-Id: I3f5b1536f8af872f3b2d94b23e0c4dab9a97e2fa
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/