commit | 7233a337cef10826e4f7cadbc895773f349e4821 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon May 04 10:27:19 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon May 04 14:58:08 2020 +0000 |
tree | 643e5fd56002fe6f905094baee9a13d1dc398ffc | |
parent | 30302b04f796a071d6e9267886959bc7e9582fcc [diff] |
Add special verification job for Chrome 80 Different branches of Gerrit may need different verification options, such as a different Docker image with Chrome. Add the ability to verify using Chrome 80 so that the different branches of Gerrit can refer to in their Jenkinsfile pipeline. Keep the legacy verification job for allowing existing verifications on stable branches to keep on working as usual. Change-Id: Ib34d00d06e9c80bf6073ea88967e69dd7c62495d
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/