commit | 746e0f2b7ce1b21cd86b222dba2a3e6561561d3e | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Feb 10 01:08:41 2020 +0100 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Feb 10 07:25:39 2020 +0000 |
tree | c25de15f68ea38d81c23427c40de9087fbfe7729 | |
parent | f4d86e5a0447edabcf2c9b84fee09d07c0a1a4be [diff] |
Revert "Install npm-packages before running polygerrit tests" Installing the packages from package.json results in a broken build on stable-* branches. This reverts commit 735b36277f03884216237b5f05b63ea7334d034b. Change-Id: Icf7a108d120c313ca9f29e8d4d256454b65cccec
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/