1 # LTTng configuration for Jenkins
3 This repository holds the configuration of the LTTng Jenkins jobs. It is
4 meant to be used with Jenkins Job Builder from the OpenStack Foundation.
6 It can be installed with:
8 $ virtualenv -p python3 .venv
10 $ pip install jenkins-job-builder
15 Generate XML files for Jenkins jobs from YAML files:
17 $ jenkins-jobs test jobs/ -o output/
19 Update Jenkins jobs which name starts with "babeltrace":
21 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
24 ## Updating kernel and modules jobs
26 # Delete current RC jobs
27 $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build
29 # Update kernel versions
30 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
33 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml