commit | 3a634e47b9bed6149b0c4b1586ec360f31b65ded | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue Mar 02 23:54:37 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 03 23:40:10 2021 +0000 |
tree | 6f1ec575c71e3e39daa2d611c2470de2dfeac5d0 | |
parent | cd6ae272a0d4f9e9c07c6d2e1f8385ba4dcdc589 [diff] |
Adapt checker query Checker query is updated to only trigger non PolyGerrit checkers if and only if non frontend files are included in the change. Bug: Issue 14094 Change-Id: I3e8ba87ff410813093f0a50c5728c69ace00f963
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/