commit | a60705366bf614501c64d3d3315235a1807e0d97 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Mar 28 19:55:50 2024 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Mar 28 19:56:47 2024 +0100 |
tree | 2a81126427b0e7982afe493688ab86a73c653e2c | |
parent | f20c2855dfbd5d8a0a6ce72f65d0e159e28e9710 [diff] |
Revert "Set branch remote-bb in gerrit-ci-scripts Jenkins job" This reverts commit c57beecfb0d5dcc057eeff43a3811375e4d1a3ce. Change-Id: I2ab3e3727ca4bc7ce5aa344d0e89b5339d98fba2
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/