Merge pull request #29 from frdeso/rework_mainline_lava_jobs
[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
e7678071
MJ
6 $ virtualenv -p python2 .venv
7 $ . .venv/bin/activate
95075d30 8 $ pip install jenkins-job-builder
e7678071
MJ
9
10
8a67d490
MJ
11## Example Usage
12
13Generate XML files for Jenkins jobs from YAML files:
14
15 $ jenkins-jobs test jobs/ -o output/
16
17Update Jenkins jobs which name starts with "babeltrace":
18
19 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
c447539a
MJ
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
94316882 28 $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc
c447539a
MJ
29
30 # Update jobs
31 $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml
This page took 0.023868 seconds and 4 git commands to generate.