commit | 0e1a3559167acb65ca0099d6f90dddf70ec51a42 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Dec 19 18:06:27 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sat Dec 19 18:06:27 2020 +0100 |
tree | 17c69cad253d52bb22631b61bea5b9a5db23b1cb | |
parent | 4041dd87c76f3af7827b14e13377ea647d07d93e [diff] |
Build simple-submit-rules plugin on stable-3.1 Change-Id: I66215edc3120611e5e959ca02686938ab2d8f26f
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/