commit | 452e5fc8c9170bcc7b3fde8cdbf6f4cd400b4b75 | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser.grainawi@linaro.org> | Tue Oct 22 14:48:06 2024 -0600 |
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | Tue Oct 22 14:48:06 2024 -0600 |
tree | 2619d19c039bdd15fa786514bb2cf7113e757514 | |
parent | 6a6b53fb1932f0818dfa39c0527b986bce1db066 [diff] |
Move branch->java-version logic into set-java.sh This logic was duplicated across several scripts, making it harder to change and review. Change-Id: Id2c43e4af7afb24238adfe445509236ddf963142
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 --require-hashes 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/