commit | 847cf76f7f27acfb79c9279e91f18b585c199ddf | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Mon Dec 07 23:53:41 2020 +0100 |
committer | David Ostrovsky <david.ostrovsky@gmail.com> | Tue Dec 08 14:47:54 2020 +0000 |
tree | 30c6f07dc8b14bbb31e5ad4a14b2e96de97ef50a | |
parent | e7ec28528a0061e6e7a103624f598e2234fee730 [diff] |
Build rename-project plugin on stable-3.3 Bug: Issue 13791 Change-Id: Id7cad4a7e5b3aec8f7da4ec36dcd2c6243be264d
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/