commit | e50857cf44d0e12c022231f134fe36ad03d30dbe | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Oct 05 22:42:59 2019 +0100 |
committer | David Pursehouse <dpursehouse@collab.net> | Tue Oct 08 06:41:26 2019 +0000 |
tree | d7a7362e0e4f8167263373d6f2265a63340c2288 | |
parent | 792be4f498849e1f294f6bac7ff7e8bb0618efba [diff] |
Build high-availability plugin on stable-3.0/master Make sure that the high-availability plugin is built on its own branch against the corresponding branch of Gerrit, removing the cross-compile of master with stable-3.0. Change-Id: I34469bd2f0841461425ba1ba1632925ff8d65d76
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/