commit | a9619b84c395711eeeae4581990e1475a04857a3 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Sep 07 09:48:44 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Sep 09 01:52:49 2021 +0200 |
tree | 89985420c8ab41c3c192d18c49e101f124ca6c94 | |
parent | 656d68a05b106eff5063acc0401286afddd2d4fe [diff] |
Add TrackingIdInfo to the classes allow-list Jenkins rejected the Gerrit SCM serialisation at [1] and needs an explicit allow-list as documented at [2]. [1] https://gerrit-ci.gerritforge.com/view/Gerrit/job/Gerrit-verifier-pipeline/view/change-requests/job/57%252F317257%252F2/1/console [2] https://groups.google.com/g/jenkinsci-dev/c/1-46eS41y6I Change-Id: I65f49872555cbbbce154f1d993cc8fefcab9a2fb
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/