commit | 190953208368c318bf4c08fda7579b533a624757 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Oct 08 20:36:45 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Oct 08 20:36:45 2020 +0100 |
tree | 5ad12faff005ac32eaddd73e7b9dc3630ac792ba | |
parent | dd607ab986d0b26ba0513bef0f0326c8b49d1f4c [diff] |
Validate plugin changes with Java 8 Make sure all plugins are compatible at build time with Java 8 so that can be used with Gerrit v3.3 and master if needed. Change-Id: Id926f36e88f91ba3fa4b4f2ad7a058d869e305cb
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/