Merge pull request #30 from PSRCode/email_notification
authorJonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Thu, 14 Dec 2017 00:57:58 +0000 (19:57 -0500)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 00:57:58 +0000 (19:57 -0500)
Base email notification configuration

16 files changed:
README.md
jobs/babeltrace.yaml
jobs/barectf.yaml
jobs/ctf-java.yml
jobs/jabberwocky.yml
jobs/latency-tracker.yaml
jobs/libdelorean-java.yml
jobs/liburcu.yaml
jobs/lttng-analyses.yaml
jobs/lttng-baremetal-tests.yaml
jobs/lttng-modules.yaml
jobs/lttng-scope.yml
jobs/lttng-tools.yaml
jobs/lttng-ust-java-tests.yaml
jobs/lttng-ust.yaml
tox.ini

index 2a0c2768beec7bb41557c8b013c173d2284a6446..f7d440218f909933152923e6a04b8b61a3e2ee19 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,9 +3,12 @@
 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
index fe2e450cba6332f085d6ae3e83f9db7edc5039cd..6486914a7cf412cbbd19bf0910256595fc124d7a 100644 (file)
                  - 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
index 497c167bfbbb5eda8362e10f2478be8cc18df834..0135e388966b8bcab0b22eaad5fcbb1c1f599f70 100644 (file)
 #      - 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:
index f2575b87548a3a611c8842924c31a19c81a574f7..251a7a61962cee70841ccd31750c6605f053f6ef 100644 (file)
               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:
index de6f02cd8e7a186f7f7391ba51f0595b2fc2f261..25047477954367bcc060553f9ae64c5674a386f8 100644 (file)
               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:
index d00c13484c2fc9831f75a45658a524c71dce9fb8..998fd1937e34f32900c5be4cc5c8d41e7b0d8364 100644 (file)
           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:
index 68c28c5437b3fd07e59af25341a3220d5028441c..1c4c4662d32ff5f194c9ac4e022bf64cdfdc49a5 100644 (file)
               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:
index 467fbbad24feab3415c63f281fa3e4f741121679..46e17c3ed01a1b6044b6c9c191a42b4041be687e 100644 (file)
           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
index 9e558e237ff97767dda678ab797f0d2ad3c2b3a7..b44e28b9b555d5f9a5699bd76d88a3cd7abe0b2f 100644 (file)
 #      - 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:
index 266c2d41c7f4b60c253cd6ac47bc5533a030517e..3f055b0defe84518749d609e299ab130cdd87af6 100644 (file)
           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}'
index d124750c9b6334658fa632a5f70452afcd228f03..94afe26c82a930a7a886d1083d56081dd259aa74 100644 (file)
 
     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
index 500c2a9cbe60cda35fac043d8bc44130faa4c6db..4d37b6192f3527868036b540fde119e36f0f0ec2 100644 (file)
               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:
index 1d242c8a352c772ea6684aa4dbcdd0463450c57b..f8f02593808f0f3eb80e331cce6b7b7020aa7d53 100644 (file)
                  - scripts/common/cygwin-prefix
                  - scripts/lttng-tools/build.sh
 
-- lttng-tools_build_publishers_defaults: &lttng-tools_build_publishers_defaults
-    name: 'lttng-tools_build_publishers_defaults'
+- lttng-tools_build_publishers_dev: &lttng-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: &lttng-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
index 3ff91ad782af098679024c79d912ac6a20dcae2a..8f8d0a792aa210b559e518404397bcfd35c253d9 100644 (file)
           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:
index 0652f59c0518d8e6b851c60a49eb308f01d09286..7287730003cd11e98b2a6cec9cb58c5afc989296 100644 (file)
           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
diff --git a/tox.ini b/tox.ini
index 975075ccc871e6f3c8775840b6a67c991bd7312d..58f54b5e80a175d01ba104e0ed74b9dbc6cc7527 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,5 +5,5 @@ toxworkdir = {env:TOXWORKDIR:.tox}
 
 [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/
This page took 0.044159 seconds and 4 git commands to generate.