commit | aa19e54bcb289e454a0608b98d0dfaee6366a16f | [log] [tgz] |
---|---|---|
author | Francois Ferrand <thetypz@gmail.com> | Wed Jan 20 14:13:48 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Feb 05 23:34:31 2021 +0000 |
tree | dcd59f7a29fada1f778a0143ba82a55b17c8ba83 | |
parent | 07ee139ebcc3d3cdac5c3ca6c894ffd6c4e34434 [diff] |
Build reject-private-submit plugin against 3.0-3.3 Change-Id: If1afd2df0ca60cd7b63277dc799fd418cb8ca548
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/