commit | 8f26afdff6ef952e5218c0dcfe61b3e535ba003d | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon May 18 13:16:46 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon May 18 16:01:14 2020 +0000 |
tree | a31385b7df77c86a7565e85f213b559194d238f8 | |
parent | 473892102c88c7f5a7c04b93286c7e06a01328f5 [diff] |
Fix conditional for submodule tagging upon release Fix a bug in tagging the Gerrit submodules when performing a release. The previous conditional execution was broken and resulted in tags missing in the submodules. Change-Id: Ib25459f253bffa14ce8c9e0116f4356532ec0466
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/