commit | 5c182c0d30d68ecf437b4615e520acdfa1fb9f58 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu May 07 12:35:53 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu May 07 11:57:29 2020 +0000 |
tree | 91e8c3f0f27cb98c041444bbcb3be012e5121e48 | |
parent | 7233a337cef10826e4f7cadbc895773f349e4821 [diff] |
Build pull-replication plugin for Gerrit v3.2 Change-Id: Ia2fc99c5e5f6b2d504f3505f85183400a807ff0e
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/