commit | 3e2792b6ce35db9bf91c6b4af3bde5018b35cc64 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Wed Apr 08 16:37:38 2020 +0200 |
committer | Thomas Draebing <thomas.draebing@sap.com> | Wed Apr 08 16:55:48 2020 +0200 |
tree | 912972b782119c895e4a90828306195194f83620 | |
parent | b8d0814cdb63771fe89ae103fc76735ba9e9cd1b [diff] |
Pin docker-java-api plugin version The recent update of the docker-java-api plugin broke compatibility with the docker plugin below version 1.2.0. Change-Id: I07dc99d78e0474cecf7d7a4c13bfab0f781de68e
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/