commit | 71d40955229d198997a3d7ea5a30ba37a4f80c40 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Fri Feb 12 22:26:04 2021 +0100 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Fri Feb 12 22:26:04 2021 +0100 |
tree | 37c88397a4c4da28b748e29d639deb93b4eabdf9 | |
parent | c104b7b5dcc24c93b03ec550bb1e6942b397f8ff [diff] |
Build server-config plugin for stable-3.1 Change-Id: I96501d4115f8151de74ec8ac6eb22691e0bd2560
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/