commit | 3c462dc6d594cb099bb3ea3c32c3733ca843f4a4 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Jul 08 23:12:00 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Jul 08 22:54:50 2020 +0000 |
tree | 02c65797280767f3ddcfc952c1779302922bde62 | |
parent | 827b185d2a4d3373b123d50735c7e66023ec8035 [diff] |
Do not archive gerrit.war and other auxiliar jars during verification The Gerrit verifier job has the unique goal of verifying that a change is working and archiving the resulting release artifact for further off-line E2E testing. Archiving intermediate jars or the gerrit.war is redundant and may be responsible of using most of the disk space available. Bug: Issue 13115 Change-Id: I521826f6adb0c198f4c33f5020a66bf3dffac25c
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/