commit | 64adba9e3888cb51925453510fad43405e27bbcc | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Apr 12 11:05:43 2022 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Apr 12 10:24:00 2022 +0000 |
tree | 2ae5034ffc6ae238bcad8afe962fb03e6145e125 | |
parent | f708908630cf99cc572fd76a9dfabfdfd71a18b5 [diff] |
Build Gerrit and validate changes on stable-3.6 Change-Id: I0fc7364c7f4a90cad5d313f29cf7c7fc3032c2e0
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/