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 A patched version of JJB is currently required with this repository, it
7 can be installed directly from github :
9 $ virtualenv -p python2 .venv
10 $ . .venv/bin/activate
11 $ pip install git+git://github.com/psrcode/jenkins-job-builder
16 Generate XML files for Jenkins jobs from YAML files:
18 $ jenkins-jobs test jobs/ -o output/
20 Update Jenkins jobs which name starts with "babeltrace":
22 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
25 ## Updating kernel and modules jobs
27 # Delete current RC jobs
28 $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build
30 # Update kernel versions
31 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
34 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml