This repository contains all jenkins jobs definition code used by the Fedora Kube SIG.
It depends on the jenkins-job-builder project: https://jenkins-job-builder.readthedocs.io/en/latest/index.html
Setup your credentials in jenkins_jobs.ini.example
file, with the proper username (userid) and password (api token)
and copy it over to ~/.config/jenkins_jobs/jenkins_jobs.ini
or specify a different path when invoking the CLI
by using jenkins-jobs --conf $config_path ...
.
Upstream docs: https://jenkins-job-builder.readthedocs.io/en/latest/index.html
The following command retrieves the list of installed plugins:
jenkins-jobs get-plugins-info -o plugins_info.yaml
The following command will test all job definitions without updating jenkins:
jenkins-jobs test ./defs
This will update all views and job definitions:
jenkins-jobs update ./defs
MIT (See LICENSE file for details)