commit | 6475e636d5302f0ea14cc0c6d037a585fd2a7b9f | [log] [tgz] |
---|---|---|
author | Darius Jokilehto <dariusjokilehto+os@gmail.com> | Tue Nov 08 12:01:21 2022 +0000 |
committer | Darius Jokilehto <dariusjokilehto+os@gmail.com> | Tue Nov 08 14:12:06 2022 +0000 |
tree | d39c6aead17b07083bc7bb9477aed59e67eeaeac | |
parent | b7c17f4066908f2d7115c1308b3039ed1822257e [diff] |
Simplify master branch name for review-by-blame Change-Id: Ia21c3d9fd2cd393dee66f5af71c0dab48650bb30
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/