commit | 9cfa121028e9b41afa350dc837080066405677d0 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Dec 01 17:30:13 2020 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Dec 01 17:30:13 2020 +0000 |
tree | 6674891550f54649be1bab990710c1486de68c69 | |
parent | 7c04b0218cc6799caac8014be6d252c432998194 [diff] |
Build out-of-the-box plugin on stable-3.3 Change-Id: I9ce13e625a0aaafc47818dae6b4028955dc1cca6
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/