f3a0a9d58a891ee5399822dd93acf5d600101fe3
[lttng-ci.git] / README.md
1 # LTTng configuration for Jenkins
2
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.
5
6 A patched version of JJB is currently required with this repository, it
7 can be installed directly from github :
8
9 $ virtualenv -p python2 .venv
10 $ . .venv/bin/activate
11 $ pip install git+git://github.com/lttng/jenkins-job-builder
12
13
14 ## Example Usage
15
16 Generate XML files for Jenkins jobs from YAML files:
17
18 $ jenkins-jobs test jobs/ -o output/
19
20 Update Jenkins jobs which name starts with "babeltrace":
21
22 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
23
24
25 ## Updating kernel and modules jobs
26
27 # Delete current RC jobs
28 $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build
29
30 # Update kernel versions
31 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
32
33 # Update jobs
34 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml
This page took 0.031388 seconds and 4 git commands to generate.