commit | 06810e0fb1d0eb8ad3b575c17aacd9ea9b470abb | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Nov 09 10:34:24 2020 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Nov 09 10:34:24 2020 +0000 |
tree | dba548c722bd46699f3bb9f59a3c155e871d6edf | |
parent | c6591ebf9a1cc32d780a61d0f855fa55984917be [diff] |
Use gerrit-security-fixes checkers id The Checks cannot be shared across projects, therefore use the checks specific to the gerrit-security-fixes for build validation results. Change-Id: I0541a13a5bc194b4b77e6cda294dd7c8a7c9e70d
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/