commit | 6b593c6d1518ff65f9a99a4e07cbb4c50c135a28 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Apr 11 15:57:16 2021 +0200 |
committer | Jacek Centkowski <geminica.programs@gmail.com> | Mon Apr 12 08:59:42 2021 +0000 |
tree | bc8a482d8e01b4c120ae0ddda80f7eaada03f3d5 | |
parent | 6ae44d9c7b9b2ddbff093f11ed4192609abde809 [diff] |
Build ref-protection plugin on stable-3.4 branch Change-Id: I2545605af73dd2b13bccb344bdebb8cfced45ff6
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/