Add CONFIG_LTTNG=m var to build modules master
[lttng-ci.git] / README.md
index d0395279c8138f3e03a399fb0e1b3fa91a8e31f2..fd496a33ad976055d7608820afa2f39a8c8aae0e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,6 +3,14 @@
 This repository holds the configuration of the LTTng Jenkins jobs. It is
 meant to be used with Jenkins Job Builder from the OpenStack Foundation.
 
+A patched version of JJB is currently required with this repository, it
+can be installed directly from github :
+
+    $ virtualenv -p python2 .venv
+    $ . .venv/bin/activate
+    $ pip install git+git://github.com/mjeanson/jenkins-job-builder
+
+
 ## Example Usage
 
 Generate XML files for Jenkins jobs from YAML files:
@@ -12,3 +20,15 @@ Generate XML files for Jenkins jobs from YAML files:
 Update Jenkins jobs which name starts with "babeltrace":
 
     $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace*
+
+
+## Updating kernel and modules jobs
+
+    # Delete current RC jobs
+    $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build
+
+    # Update kernel versions
+    $ automation/kernel-seed.py > job/inc/kernel-versions.yaml
+
+    # Update jobs
+    $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml
This page took 0.022243 seconds and 4 git commands to generate.