commit | 59b442c70983da8af4699f08b89dadd02628b4e4 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Fri Nov 08 16:33:48 2019 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Nov 08 16:34:49 2019 +0000 |
tree | 43df110441462fbef8caac1b9724b4ef0cb2d948 | |
parent | 941e1beb44e9a39cffbbe467771054ecb5d74f08 [diff] |
Build avatar-gravatar on stable-2.16 The avatar-gravatar plugin needs its own branch for a successful build on stable-2.16. This is due to the master version of the plugin not compatible anymore with Gerrit v2.16 API. Change-Id: I13aa620ff99d57edb53a49725c28c1cc9e81369f
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/