kube-sig / jenkins

Created a year ago
Maintained by lrossett
fedora kube sig jenkins code
Members 1
Leonardo Rossetti committed 8 months ago

Fedora Kube SIG Jenkins

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

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 ....

Usage

Upstream docs: https://jenkins-job-builder.readthedocs.io/en/latest/index.html

Plugin List

The following command retrieves the list of installed plugins:

jenkins-jobs get-plugins-info -o plugins_info.yaml

Testing Definitions

The following command will test all job definitions without updating jenkins:

jenkins-jobs test ./defs

Updating Jobs

This will update all views and job definitions:

jenkins-jobs update ./defs

License

MIT (See LICENSE file for details)