Commit | Line | Data |
---|---|---|
8a67d490 MJ |
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 | ## Example Usage | |
7 | ||
8 | Generate XML files for Jenkins jobs from YAML files: | |
9 | ||
10 | $ jenkins-jobs test jobs/ -o output/ | |
11 | ||
12 | Update Jenkins jobs which name starts with "babeltrace": | |
13 | ||
14 | $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace* | |
c447539a MJ |
15 | |
16 | ||
17 | ## Updating kernel and modules jobs | |
18 | ||
19 | # Delete current RC jobs | |
20 | $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build | |
21 | ||
22 | # Update kernel versions | |
23 | $ automation/kernel-seed.py > job/inc/kernel-versions.yaml | |
24 | ||
25 | # Update jobs | |
26 | $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml |