commit | 7fef4ce7952c931209c25a627659ef6efc208991 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Fri May 01 08:51:18 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Fri May 01 08:51:18 2020 +0900 |
tree | b98295a1794fabe579578a06df4121b093e272a6 | |
parent | a5ae32119d0b930897b2dd920d882005f5447b9d [diff] |
Build project-group-structure plugin on its own stable-3.1 branch Change-Id: I7dafd0ab405a5d8acb76b77945b41234e822d28f
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/