jjb: binutils-gdb: archive testsuite/gdb.log
[lttng-ci.git] / README.md
CommitLineData
8a67d490
MJ
1# LTTng configuration for Jenkins
2
3This repository holds the configuration of the LTTng Jenkins jobs. It is
4meant to be used with Jenkins Job Builder from the OpenStack Foundation.
5
d2e747f2
JR
6A patched version of JJB is currently required with this repository, it
7can be installed directly from github :
8
e7678071
MJ
9 $ virtualenv -p python2 .venv
10 $ . .venv/bin/activate
95551a27 11 $ pip install git+git://github.com/lttng/jenkins-job-builder
e7678071
MJ
12
13
8a67d490
MJ
14## Example Usage
15
16Generate XML files for Jenkins jobs from YAML files:
17
18 $ jenkins-jobs test jobs/ -o output/
19
20Update Jenkins jobs which name starts with "babeltrace":
21
22 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
c447539a
MJ
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
94316882 31 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
c447539a
MJ
32
33 # Update jobs
34 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml
This page took 0.027541 seconds and 4 git commands to generate.