commit | 159bb64a71a00128d01fe1c13495b7454aacce25 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Wed Jan 08 15:28:28 2020 -0500 |
committer | Marco Miller <marco.miller@ericsson.com> | Wed Jan 08 15:28:28 2020 -0500 |
tree | c67196f35c4a934fcfe15cb19bacb3eb3f00376e | |
parent | 74fe5c0b8be82d769957af8d7055c8bfd7a3112b [diff] |
Build stable-3.1 branch of high-availability plugin Change-Id: I394a655ddff07abb3ca7312e215eed222e2a9e0f
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/