commit | f3a8a1e10d92fe2021f8b242a8fe78617d6e4e18 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Mon Oct 14 15:54:59 2019 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Oct 16 23:13:39 2019 +0000 |
tree | fedd4650478761de6d187e8995483fedfc07a414 | |
parent | 60eb37b54addf3a2a5b8bf2b2897809e4d88f437 [diff] |
Add the configuration of the Jenkins URL in the container Some operations in pipeline jobs depend on the Jenkins URL to be set in the configuration, which wasn't done automatically yet. This change adds the respective configuration file to the master container, having the URL `gerrit-ci.gerritforge.com` configured. Change-Id: I73c209162d15bb92fb6894d9b2962c5713d0061f
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/