commit | 3894f2ffa484ee29fa57be9fac15b7713a02bb6b | [log] [tgz] |
---|---|---|
author | Marcin Czech <maczech@gmail.com> | Mon Apr 08 12:54:28 2024 +0200 |
committer | Marcin Czech <maczech@gmail.com> | Mon Apr 08 13:13:48 2024 +0200 |
tree | 12493765b5fdaf039098143b581aacb516d9be6d | |
parent | de9e5e4933ca4cf5f05c14454c279ad15bb4fad4 [diff] |
Build metrics-reporter-cloudwatch plugin on stable-3.9 and stable-3.10 Change-Id: I8125f84ec9431219b46936b029871b24e25b438e
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/