commit | 68504a71c91f03c47e806ed7469bfa02fd1936c7 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Sep 07 21:59:47 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Oct 08 23:32:55 2021 +0100 |
tree | 8391a2882f5395c8893e6c06d72c56ec32507425 | |
parent | aac7ac16ec62af1b4e4c4fc40c72fd10dfed4c27 [diff] |
Define change validation with Java 11 toolchain Changes on master are from now validated against Java 11. Plugin builds are still on Java 8 on stable branches until stable-3.2 and they are built with Java 11 from stable-3.3 onwards. Change-Id: I934ea430261907a617ce90c65735ac9017fff68e
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/