Merge pull request #27 from PSRCode/readme
[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 $ virtualenv -p python2 .venv
7 $ . .venv/bin/activate
8 $ pip install jenkins-job-builder
9
10
11 ## Example Usage
12
13 Generate XML files for Jenkins jobs from YAML files:
14
15 $ jenkins-jobs test jobs/ -o output/
16
17 Update Jenkins jobs which name starts with "babeltrace":
18
19 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
20
21
22 ## Updating kernel and modules jobs
23
24 # Delete current RC jobs
25 $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build
26
27 # Update kernel versions
28 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
29
30 # Update jobs
31 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml
This page took 0.030791 seconds and 5 git commands to generate.