commit | 77a17b6c33e58a35648ab13e248e182f4eaea150 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Wed Mar 04 11:38:34 2020 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Mar 10 11:59:10 2020 +0000 |
tree | c6f74f57170e6a01bc2c58140b10ebd60eb788ab | |
parent | 1f774945336c8d7ca306dfdc87203508b5b88131 [diff] |
Add job generating homepage The job is triggered - by polling the homepage repository for changes on the master branch every 10 minutes - every midnight to ensure the plugins page is updated in case information about existing plugins changed Change-Id: I9e26d7cbb2da6e9ef732bad33365a132ce2b396c
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/