commit | c6591ebf9a1cc32d780a61d0f855fa55984917be | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Fri Nov 06 16:19:42 2020 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Nov 07 00:34:20 2020 +0000 |
tree | 8a91d848a7bbbb149c5dffff6d7fd54b653f60af | |
parent | 7660a0c7d5c3975297d52227dd9dfc1e68ef4d00 [diff] |
Do not report Code-Style on gerrit-security-fixes The gerrit-security-fixes does not have the Code-Style label and, apparently, it isn't possible to add it. Change-Id: I22d0dc91bf3c04bccb41f97f5043441879821834
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/