Skip to content

mjeanson/lttng-ci

 
 

Repository files navigation

LTTng configuration for Jenkins

This repository holds the configuration of the LTTng Jenkins jobs. It is meant to be used with Jenkins Job Builder from the OpenStack Foundation.

It can be installed with:

$ virtualenv -p python3 .venv
$ . .venv/bin/activate
$ pip install jenkins-job-builder

Example Usage

Generate XML files for Jenkins jobs from YAML files:

$ jenkins-jobs test jobs/ -o output/

Update Jenkins jobs which name starts with "babeltrace":

$ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*

Updating kernel and modules jobs

# Delete current RC jobs
$ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build

# Update kernel versions
$ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc

# Update jobs
$ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.4%
  • Groovy 20.7%
  • Python 15.7%
  • Jinja 4.8%
  • Dockerfile 0.4%