| commit | e87df0e629c267e6eb2d444313e2c599447a408e | [log] [tgz] |
|---|---|---|
| author | Jacek Centkowski <geminica.programs@gmail.com> | Mon Nov 07 15:09:57 2022 +0000 |
| committer | Jacek Centkowski <geminica.programs@gmail.com> | Mon Nov 07 18:14:21 2022 +0000 |
| tree | dc5a000a6adf592da11d1c9a3e32aeef5443f24d | |
| parent | ef242384ba26e6527dde9efb04bdfd44ce6094c6 [diff] |
Build git-repo-metrics master against Gerrit stable-3.7 Change-Id: Ifac6efed874ad5d99d24dee5da9910375315d792
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/