commit | 23d6cb1b3aab71ebc3404bc2415df0b963a3d9e5 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Thu Nov 18 19:56:41 2021 +0100 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Thu Nov 18 19:17:37 2021 +0000 |
tree | 2ce261609d6f71d4a03a40957245832d5f08ba9d | |
parent | 8fd0788f94e99565c86283d5c705ebb4220f0641 [diff] |
Build replication-status against gerrit stable-3.5 Bug: Issue 15285 Change-Id: If845705dfc2f2a6cf65675dc8e1bd1c30e0186dc
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/