commit | 39c935b46e6e45570514d8e3c1ea177d2949719b | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Wed Dec 02 11:53:07 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Wed Dec 02 11:53:45 2020 +0100 |
tree | 105c2ee46829eb9ad926f9522d092a942c48cfcf | |
parent | 9cfa121028e9b41afa350dc837080066405677d0 [diff] |
Verify kafka-events plugin Change-Id: I528b20f68f32990f22d30d2b7ec3cfecfbd3b7a4
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/