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 jenkins-job-builder
+ $ pip install git+git://github.com/psrcode/jenkins-job-builder
## Example Usage
- scripts/babeltrace/build.sh
-- babeltrace_build_publishers_defaults: &babeltrace_build_publishers_defaults
- name: 'babeltrace_build_publishers_defaults'
+- babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
+ name: 'babeltrace_build_publishers_dev'
publishers:
- tap:
results: 'tap/**/*.log'
total-high: 0
total-normal: 0
total-low: 0
+ - email-ext:
+ recipients: '{obj:email_to}'
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+
- babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
name: 'babeltrace_build_publishers_prod'
- archive:
artifacts: 'build/**'
allow-empty: false
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Templates
<<: *babeltrace_build_axes_defaults
<<: *babeltrace_build_builders_defaults
- <<: *babeltrace_build_publishers_defaults
+ <<: *babeltrace_build_publishers_dev
- job-template:
name: babeltrace_{version}_cppcheck
min: 10
max: 999
unstable: 999
- - email:
- recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
# Use - in version number since yaml anchor do not support dot
- babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
- pollscm:
cron: "@daily"
<<: *babeltrace_version_glib-2-22-5_anchor
+ publishers:
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: dev_{user}_babeltrace_{version}_glib-2.22.5
<<: *babeltrace_version_glib-2-22-5_anchor
+ publishers:
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: babeltrace
github_user: efficios
github_name: babeltrace
+ email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
version:
- stable-1.3
- stable-1.4
user: jgalar
github_user: jgalar
github_name: babeltrace
+ email_to: "jgalar@efficios.com"
version:
- stable-1.3-staging
- stable-1.4-staging
# - archive:
# artifacts: 'build/**'
# allow-empty: false
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: barectf_{version}_pylint
min: 10
max: 999
unstable: 999
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: barectf
github_user: efficios
github_name: barectf
+ email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
version:
- master
jobs:
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+
- job-template:
name: ctf-java_{version}_coverity
name: ctf-java
github_user: efficios
github_name: ctf-java
+ email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+ email_for_all_failure: 'alexmonthy@efficios.com'
version:
- master
jobs:
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: jabberwocky_{version}_coverity
name: jabberwocky
github_user: efficios
github_name: jabberwocky
+ email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+ email_for_all_failure: 'alexmonthy@efficios.com'
version:
- master
jobs:
artifacts: 'build/**'
allow-empty: false
- workspace-cleanup
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+
- job-template:
name: latency-tracker_{mversion}_{buildtype}-vanilla
publishers:
- workspace-cleanup
- email-ext:
- recipients: jdesfossez@efficios.com
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: latency-tracker_{mversion}_build-{uversion}
publishers:
- workspace-cleanup
- email-ext:
- recipients: jdesfossez@efficios.com
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+
- job-template:
name: latency-tracker_{mversion}_build-rt
publishers:
- workspace-cleanup
- email-ext:
- recipients: jdesfossez@efficios.com
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: latency-tracker_VERSION_param-build
allow-empty: false
- cppcheck:
pattern: 'cppcheck.xml'
- - email:
- recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: latency-tracker_{mversion}_sloccount
name: latency-tracker
github_user: efficios
github_name: latency-tracker
+ email_to: 'ci-notification@lists.lttng.org, cc:jdesfossez@efficios.com'
mversion:
- master
jobs:
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: libdelorean-java_{version}_coverity
name: libdelorean-java
github_user: efficios
github_name: libdelorean-java
+ email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+ email_for_all_failure: 'alexmonthy@efficios.com'
version:
- master
jobs:
matrix-notifier: only-parent
channels:
- name: '#lttng'
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Templates
- job-template:
allow-empty: false
- cppcheck:
pattern: 'liburcu-cppcheck.xml'
- - email:
- recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: true
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: liburcu_{version}_scan-build
name: liburcu
github_user: urcu
github_name: userspace-rcu
+ email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
version:
- stable-0.8
- stable-0.9
# - archive:
# artifacts: 'build/**'
# allow-empty: false
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: lttng-analyses_{version}_pylint
min: 10
max: 999
unstable: 999
- - email:
- recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: lttng-analyses
github_user: lttng
github_name: lttng-analyses
+ email_to: 'ci-notification@lists.lttng.org, cc:jdesfossez@efficios.com'
version:
- master
jobs:
artifacts: '*.png,*.csv'
stable: true
do-not-fingerprint: true
- - email:
- recipients: 'francis.deslauriers@efficios.com'
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- image-gallery:
- gallery-type: archived-images-gallery
title: Results
basedir: src/linux
publishers:
- - email:
- recipients: 'francis.deslauriers@efficios.com'
- - ircbot:
- strategy: new-failure-and-fixed
- message-type: summary
- channels:
- - name: '#lttng'
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- workspace-cleanup
builders:
basedir: src/linux
publishers:
- - email:
- recipients: 'francis.deslauriers@efficios.com'
- - ircbot:
- strategy: new-failure-and-fixed
- message-type: summary
- channels:
- - name: '#lttng'
- workspace-cleanup
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
builders:
- shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
## Project
- project:
name: lttng-kernel-tests
+ email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
kversion:
- linux-4.4.y
- linux-4.9.y
- project:
name: lttng-kernel-tests-oldkernel
+ email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
kversion:
- linux-3.18.y
- linux-4.4.y
- project:
name: lttng-kernel-tests-canary
+ email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
kversion:
- v4.4.9
lttngversion:
name: lttng-kernel-tests-mainline
lttngversion:
- master
+ email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
jobs:
- 'vm_tests_kmainline_l{lttngversion}'
- 'vm_tests_fuzzing_kmainline_l{lttngversion}'
publishers:
- workspace-cleanup
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Templates
- shell:
!include-raw-escape: scripts/lttng-modules/param-build.sh
+ publishers:
+ - workspace-cleanup
+
- job-template:
name: lttng-modules_VERSION_param-crossbuild
defaults: lttng-modules
git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
- shell:
!include-raw-escape: scripts/lttng-modules/param-build.sh
+ publishers:
+ - workspace-cleanup
- job-template:
name: lttng-modules_{mversion}_coverity
name: lttng-modules
github_user: lttng
github_name: lttng-modules
+ email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
jobs:
# Vanilla normal builds
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
-# - ircbot:
-# strategy: new-failure-and-fixed
-# matrix-notifier: only-parent
-# channels:
-# - name: '#lttng'
-
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: lttng-scope_{version}_winbuild
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
-# - ircbot:
-# strategy: new-failure-and-fixed
-# matrix-notifier: only-parent
-# channels:
-# - name: '#lttng'
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+
- job-template:
total-low: 0
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
-# - ircbot:
-# strategy: new-failure-and-fixed
-# matrix-notifier: only-parent
-# channels:
-# - name: '#lttng'
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: lttng-scope_{version}_coverity
name: lttng-scope
github_user: lttng
github_name: lttng-scope
+ email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+ email_for_all_failure: 'alexmonthy@efficios.com'
version:
- master
jobs:
- scripts/common/cygwin-prefix
- scripts/lttng-tools/build.sh
-- lttng-tools_build_publishers_defaults: <tng-tools_build_publishers_defaults
- name: 'lttng-tools_build_publishers_defaults'
+- lttng-tools_build_publishers_dev: <tng-tools_build_publishers_dev
+ name: 'lttng-tools_build_publishers_dev'
publishers:
- tap:
results: 'tap/**/*.tap'
- workspace-cleanup:
clean-if:
- failure: false
+ - email-ext:
+ recipients: '{obj:email_to}'
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- lttng-tools_build_publishers_prod: <tng-tools_build_publishers_prod
name: 'lttng-tools_build_publishers_prod'
- archive:
artifacts: 'build/**'
allow-empty: false
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Templates
- job-template:
<<: *lttng-tools_build_axes_defaults
<<: *lttng-tools_build_builders_defaults
- <<: *lttng-tools_build_publishers_defaults
+ <<: *lttng-tools_build_publishers_dev
- job-template:
name: lttng-tools_{version}_cppcheck
allow-empty: false
- cppcheck:
pattern: 'lttng-tools-cppcheck.xml'
- - email:
+ - email-ext:
recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: lttng-tools_{version}_scan-build
min: 10
max: 999
unstable: 999
- - email:
+ - email-ext:
recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
-
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: lttng-tools
github_user: lttng
github_name: lttng-tools
+ email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
version:
- stable-2.7
- stable-2.8
user: jgalar
github_user: jgalar
github_name: lttng-tools
+ email_to: 'jgalar@efficios.com'
jobs:
- 'dev_{user}_lttng-tools_{version}_{buildtype}':
buildtype: build
results: 'lttng-ust-java-tests/**/target/failsafe-reports/*.xml'
- workspace-cleanup
- email-ext:
- recipients: alex@voxpopuli.im
- matrix-trigger: only-parent
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
-
+ recipients: '{obj:email_for_all_failure}'
+ always: false
+ unstable: true
+ first-failure: false
+ first-unstable: false
+ not-built: false
+ aborted: false
+ regression: false
+ failure: true
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: lttng-ust-java-tests
github_user: lttng
github_name: lttng-ust-java-tests
+ email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+ email_for_all_failure: 'alexmonthy@efficios.com'
version:
- master
liburcu_version:
artifacts: 'build/**'
allow-empty: false
- workspace-cleanup
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ reply-to: ci-notification@lists.lttng.org
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
- job-template:
name: lttng-ust_{version}_cppcheck
min: 10
max: 999
unstable: 999
- - email:
- recipients: 'ci-notification@lists.lttng.org'
- notify-every-unstable-build: true
- send-to-individuals: false
-
+ - email-ext:
+ recipients: '{obj:email_to}'
+ always: false
+ unstable: false
+ first-failure: true
+ first-unstable: true
+ not-built: false
+ aborted: false
+ regression: false
+ failure: false
+ second-failure: false
+ improvement: false
+ still-failing: false
+ success: false
+ fixed: false
+ fixed-unhealthy: true
+ still-unstable: false
+ pre-build: false
+ matrix-trigger: only-parent
+ send-to:
+ - recipients
## Project
- project:
name: lttng-ust
github_user: lttng
github_name: lttng-ust
+ email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
version:
- stable-2.7
- stable-2.8
[testenv]
skip_install = True
-deps = jenkins-job-builder
-commands = jenkins-jobs test jobs/ -o test/
+deps = git+git://github.com/psrcode/jenkins-job-builder
+commands = jenkins-jobs --conf etc/jenkins_jobs.ini-tox test jobs/ -o test/