commit | c6dc1e52df17d83f762c65b7981f2cce362ce584 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Mon Jul 20 12:09:47 2020 -0400 |
committer | Marco Miller <marco.mmiller@gmail.com> | Mon Jul 20 16:29:01 2020 +0000 |
tree | f44c9b96ffa8088ab24aff4422b69d377fa22d10 | |
parent | d9c78a1f133257040ce2d1ff785c2d080862130c [diff] |
Build high-availability plugin on its own stable-3.2 branch Change-Id: I4a34a9b84e67ca7774d1f17822e8fd9f804da9be
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/