commit | 4f6f27961ffcff604bf896fd538eff1af3ae3d81 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Mon Jul 13 11:53:32 2020 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Mon Jul 13 11:53:36 2020 -0400 |
tree | ff9cd12615007809f10b16a5b92fbf58b75ff4e7 | |
parent | 2e10581f91672cbced8f60f7bce43fe859bc261b [diff] |
Build project-group-structure plugin on its own stable-3.2 branch Change-Id: I72b5b055715d1c95b82456b6e40b427fe523a48b
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/