commit | fdda4590beaa97706ff1af58c10f2ee8e2f60d12 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Wed Nov 18 12:42:04 2020 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Fri Nov 20 10:50:16 2020 +0000 |
tree | 1005ed29e0c792bb66d8912dbf120d043c0f483b | |
parent | 4f2d6997e5fe6518efe8f03b051bfd5edb712f0b [diff] |
Build metrics-reporter-cloudwatch against stable-3.3 Feature: Issue 13713 Change-Id: I6b7d6b3d96c7026b1206d9bfa3145604727799f1
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/