commit | a04bd1d9d875705ef0853751dcfd3294bfa7ffad | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Nov 14 10:25:38 2019 -0800 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Nov 14 10:25:38 2019 -0800 |
tree | e7d0e0dfa07740f29f654cba67ff5b4bd0c6eb96 | |
parent | 9b0e400de869138d821c64c3287e4d3431c7fbee [diff] |
Run tests on kafka-events plugin Change-Id: Ifd72d1016c3e003f1538433600fa410034bd429f
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/