commit | 8d77f763f62ce5bef11ce257875e31c798ba4e1c | [log] [tgz] |
---|---|---|
author | Przemyslaw Waliszewski <pwaliszewski@gmail.com> | Thu Apr 29 19:54:02 2021 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Apr 30 17:51:08 2021 +0000 |
tree | 15ad0b5e5bdef26e701502a2091d4117c9016a19 | |
parent | 8f7d04801edb86b73be0d4206d62b62c09d83f92 [diff] |
Build project-group-structure plugin on stable-3.3 && stable-3.4 branch Bug: Issue 14304 Change-Id: Ia7c02d517c30285691b2719d2e5c7f5f49a14b3f
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/