| commit | 4fc78e3ba00d405f705c30ced263ef0ba63a6480 | [log] [tgz] |
|---|---|---|
| author | Jacek Centkowski <geminica.programs@gmail.com> | Sat Oct 29 12:45:22 2022 +0200 |
| committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Oct 29 23:22:37 2022 +0000 |
| tree | ae1395ca3719b4fb30164a2e6461cd9438d033fb | |
| parent | 3a8f6d72a644ef6c132636f85aa9affba987602b [diff] |
Build 'cached-refdb' master against Gerrit 'stable-3.[6|7]' branches Change-Id: Ife025fe2f3178ced3c0e62c6790f85d2deb7c802
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/