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
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*
# 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