commit | 30d74e5a5fae406c8228f80b80852a10d7677fd0 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Oct 24 00:07:48 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Oct 28 08:45:39 2020 +0000 |
tree | d4d8f4ab16a0f87a622e4ec92c3854bf0081e98f | |
parent | baaf6b88c2b81fc8f613908ef8baaa39b95eb3e6 [diff] |
Build plugins on Java 11 for stable-3.3/master Gerrit stable-3.3 and master is distributed on Java 11 and the plugin API won't be usable from Java 8 as they are using the Major version 55. Do NOT enforce anymore a specific toolchain but let Bazel use the local JVM. Change-Id: Ic949afaf0f479d6486e7de712599ff2cbbb05b9f
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/