X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=README.md;h=f3a0a9d58a891ee5399822dd93acf5d600101fe3;hb=77d2de479c2522ca159958e1dbb67a3bc794648a;hp=d0395279c8138f3e03a399fb0e1b3fa91a8e31f2;hpb=8a67d4900aa6758edac048c9b4681614ea76133e;p=lttng-ci.git diff --git a/README.md b/README.md index d039527..f3a0a9d 100644 --- 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/lttng/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 > jobs/inc/kernel-versions.yaml.inc + + # Update jobs + $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml