commit | 045f0aa4ea1f620bf4d51c01082ed4654775ac8e | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Oct 03 23:01:56 2023 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Oct 03 23:01:56 2023 +0100 |
tree | de7d3f75d7a1590aa1352de7d293db088f9731db | |
parent | 658e4537f2494d29ac39f7cab8b21b2b27a6fb8d [diff] |
Remove empty extra-artifacts Since the introduction of the default empty JJB parameters there is no need to define an empty extra-artifacts. Change-Id: I711617eeb14591c0cd2357bc6d6e7b1fcc0eaa02
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 --require-hashes 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/