commit | 00cc598e8bb94d11ecd25747804e4df9dfbf0864 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Mar 23 21:22:35 2024 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Mar 28 18:36:23 2024 +0000 |
tree | 0ff7afbe1f1e19de9405f4b58dcc5fde2cddb81f | |
parent | eeec18aa3683df72a227316d5d301fc14521ddd6 [diff] |
Jenkins docker cloud: add bazel-debian label for plugins build All plugins' builds refer to a node with a generic 'bazel-debian' label: assign it to the same Docker image that is used to build Gerrit. Change-Id: I038b75758f1787b391cd6940f4b061e2f1892fca
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/