jjb: lava: cleanup: use jjb macros instead of YAML anchors
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 22 Dec 2017 16:57:32 +0000 (11:57 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 9 Jan 2018 04:16:26 +0000 (23:16 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
jobs/system-tests.yaml

index 508259d5c9e6a423abf2a34ffe1c45559c752ee5..44b0376267b3a8217a324b45b7e99043c8d4dd81 100644 (file)
@@ -36,8 +36,8 @@
           default: 'https://github.com/lttng/lttng-ust.git'
           description: 'LTTng-UST git repo to checkout the UST id'
 
-- system_tests_publisher_defaults: &system_tests_publisher_defaults
-    name: 'system_tests_publisher_defaults'
+- publisher:
+    name: 'system_tests_email_ext_default'
     publishers:
       - email-ext:
           recipients: '{obj:email_to}'
@@ -61,7 +61,6 @@
           matrix-trigger: only-parent
           send-to:
             - recipients
-      - workspace-cleanup
 
 ## Defaults
 - defaults:
           artifacts: '*.png,*.csv'
           stable: true
           do-not-fingerprint: true
-      - 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
+      - system_tests_email_ext_default
       - image-gallery:
         - gallery-type: archived-images-gallery
           title: Results
           properties-file: properties.txt
       - shell: !include-raw-escape: scripts/system-tests/run-kvm-tests.sh
 
-    <<: *system_tests_publisher_defaults
+    publishers:
+      - system_tests_email_ext_default
+      - workspace-cleanup
 
 - defaults:
     name: vm_tests_fuzzing
           properties-file: properties.txt
       - shell: !include-raw-escape: scripts/system-tests/run-kvm-fuzzing-tests.sh
 
-    <<: *system_tests_publisher_defaults
+    publishers:
+      - system_tests_email_ext_default
+      - workspace-cleanup
 
 - defaults:
     name: baremetal_tests
           properties-file: properties.txt
       - shell: !include-raw-escape: scripts/system-tests/run-baremetal-tests.sh
 
-    <<: *system_tests_publisher_defaults
+    publishers:
+      - system_tests_email_ext_default
+      - workspace-cleanup
 
 ## Templates
 - job-template:
          command:
            !include-raw-escape: scripts/system-tests/system-trigger.groovy
 
-    <<: *system_tests_publisher_defaults
+    publishers:
+      - system_tests_email_ext_default
 
 - job-template:
     name: baremetal_benchmarks_k{kversion}_l{lttngversion}
This page took 0.024472 seconds and 4 git commands to generate.