commit | ec411a386dba583219b613dbb6c56db317000933 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Wed Dec 11 17:59:07 2019 +0100 |
committer | Thomas Dräbing <thomas.draebing@sap.com> | Mon Dec 16 10:06:05 2019 +0000 |
tree | 1aa37484dc45848a39546e36ba07324a785e9123 | |
parent | 4293a393feb76703f44c5915d29557937f4db4cc [diff] |
Upgrade eslint version to 6.6.0 Change-Id: I6229a9007a74fe442f6d0f7a1b5db07433b35ee0
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/