commit | 85687b7ed80a0707c4b21a9c9725233564ec48e8 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Thu Feb 25 14:22:35 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Feb 25 23:38:46 2021 +0000 |
tree | d510391fee05f424700b18f2c4b6ae21ff958f58 | |
parent | b49b8332937956a5bd1eabc2e1a615dafbe41bb4 [diff] |
Fix Jenkins master image The new latest version of the jenkins/jenkins image does not contain java 8 anymore. Thus, we need to use an older version of the image. Change-Id: Ia9fe3d74bebf24f6d993ebfb17feaf1564306bac
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/