commit | 4991ae8080e11fa854229eb9f9ff1276a40f9115 | [log] [tgz] |
---|---|---|
author | Fabio Ponciroli <ponch78@gmail.com> | Mon Dec 06 16:49:43 2021 +0100 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Tue Dec 07 09:55:24 2021 +0000 |
tree | f2cb9a284769340b20f6df25e04f5c839fcb09f6 | |
parent | 24bc76c01bbacf19039be7fe8d67eb387c0bdcca [diff] |
Build github plugin on stable-3.5 branch Change-Id: I7914c323840598a90619359a9262772073eeec9b
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/