| commit | 1ff70e121fedb1ecb7d5b64bb7e5223cabc11c5c | [log] [tgz] |
|---|---|---|
| author | Fabio Ponciroli <ponch78@gmail.com> | Mon May 08 17:01:21 2023 +0100 |
| committer | Fabio Ponciroli <ponch78@gmail.com> | Tue May 09 10:44:20 2023 +0000 |
| tree | 9b349c2ca6af4dd8a9eb9c4bca70abf6aece19df | |
| parent | 563fd130451ca58fad2bc10339887f0456510d5b [diff] |
Build git-repo-metrics in 3.8 Change-Id: Ic14cf19ab98f965794223b6170188da882ab664a
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 --require-hashes 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/