commit | 8da959e4fa1e8bf8dc72437073af99df27f8fbec | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Mar 16 00:49:24 2021 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Mar 23 23:28:57 2021 +0000 |
tree | 0b3f8722c64cd89dbf448f16c83b8f4fa5aa6b68 | |
parent | e2f146022da591407d6f1567b86865cb96276532 [diff] |
Add gcloud-pubsub-events plugin build Also add the ability to use a target Gerrit branch different than the plugin's one and make it work also when the gerrit remote is already defined by the SCM source. Change-Id: I23929eecb1a23bb57842af2cd5af7bd69c74ae43
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/