Send 'Build Failed' Emails to Jenkins Admins 97/37797/3
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 19 Jul 2017 16:55:21 +0000 (09:55 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 2 Aug 2017 23:12:23 +0000 (16:12 -0700)
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs
which have overridden the default list of publishers.

This will provide Jenkins administrators a time-series list of build
failures to assist in debugging issues with the master and agents.

JIRA: RELENG-257

Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
26 files changed:
jjb-sandbox/releng/releng-sandbox-jobs.yml
jjb/armband/armband-ci-jobs.yml
jjb/armband/armband-project-jobs.yml
jjb/bottlenecks/bottlenecks-ci-jobs.yml
jjb/daisy4nfv/daisy-project-jobs.yml
jjb/doctor/doctor.yml
jjb/dovetail/dovetail-ci-jobs.yml
jjb/dovetail/dovetail-weekly-jobs.yml
jjb/fuel/fuel-daily-jobs.yml
jjb/fuel/fuel-project-jobs.yml
jjb/fuel/fuel-weekly-jobs.yml
jjb/functest/functest-project-jobs.yml
jjb/multisite/multisite-daily-jobs.yml
jjb/ovsnfv/ovsnfv.yml
jjb/qtip/qtip-validate-jobs.yml
jjb/qtip/qtip-verify-jobs.yml
jjb/qtip/qtip-weekly-jobs.yml
jjb/releng/automate.yml
jjb/releng/opnfv-docker-arm.yml
jjb/releng/opnfv-docker.yml
jjb/releng/releng-ci-jobs.yml
jjb/storperf/storperf.yml
jjb/xci/bifrost-cleanup-job.yml
jjb/xci/bifrost-verify-jobs.yml
jjb/xci/xci-daily-jobs.yml
jjb/yardstick/yardstick-daily-jobs.yml

index 97fea89..f5aab1a 100644 (file)
@@ -56,3 +56,4 @@
     publishers:
         - archive-artifacts:
             artifacts: 'job_output/*'
+        - email-jenkins-admins-on-failure
index 0f08c31..a5d75bd 100644 (file)
     publishers:
         - email:
             recipients: armband@enea.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # parameter macros
index 31b2bf6..0623b55 100644 (file)
@@ -67,6 +67,7 @@
     publishers:
         - email:
             recipients: armband@enea.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # parameter macros
index 455fa72..611e21c 100644 (file)
     publishers:
         - email:
             recipients: gabriel.yuyang@huawei.com, liyin11@huawei.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # builder macros
index bae75dd..fd0da79 100644 (file)
 
     publishers:
         - '{installer}-recipients'
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: '{installer}-{phase}-daily-{stream}'
     publishers:
         - email:
             recipients: hu.zhijiang@zte.com.cn lu.yao135@zte.com.cn zhou.ya@zte.com.cn yangyang1@zte.com.cn julienjut@gmail.com
+        - email-jenkins-admins-on-failure
 
 - parameter:
     name: 'daisy-project-parameter'
index c6b2cb6..4fd783f 100644 (file)
             artifacts: 'tests/*.log'
         - archive:
             artifacts: 'functest_results/$FUNCTEST_SUITE_NAME.log'
+        - email-jenkins-admins-on-failure
 
 
 #####################################
index bcda2b7..0eadc7c 100644 (file)
             artifacts: 'results/**/*'
             allow-empty: true
             fingerprint: true
+        - email-jenkins-admins-on-failure
 
 #--------------------------
 # builder macros
index 700657d..11904cb 100644 (file)
             artifacts: 'results/**/*'
             allow-empty: true
             fingerprint: true
+        - email-jenkins-admins-on-failure
 
 ########################
 # builder macros
index 7ec74e4..4b2f8e9 100644 (file)
     publishers:
         - email:
             recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'fuel-deploy-{pod}-daily-{stream}'
     publishers:
         - email:
             recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # parameter macros
index faffa0a..6bb7e51 100644 (file)
@@ -79,6 +79,7 @@
     publishers:
         - email:
             recipients: fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'fuel-merge-build-{stream}'
     publishers:
         - email:
             recipients: fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'fuel-deploy-generic-daily-{stream}'
index 655a70a..57e36e1 100644 (file)
     publishers:
         - email:
             recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'fuel-deploy-{pod}-weekly-{stream}'
     publishers:
         - email:
             recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # parameter macros
index 353423d..1966e52 100644 (file)
@@ -80,6 +80,7 @@
                     healthy: 50
                     unhealthy: 40
                     failing: 30
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'functest-docs-upload-{stream}'
index 06cefb6..c5e1866 100644 (file)
 
     publishers:
         - 'multisite-{phase}-publisher'
+        - email-jenkins-admins-on-failure
 
 ########################
 # builder macros
index 0e8c713..62f6de0 100644 (file)
     publishers:
         - email:
             recipients: therbert@redhat.com mark.d.gray@intel.com billy.o.mahony@intel.com
+        - email-jenkins-admins-on-failure
 
 - builder:
     name: build-rpms
index 9f1ccec..73d7993 100644 (file)
@@ -66,6 +66,7 @@
         - qtip-validate-deploy
     publishers:
         - qtip-common-publishers
+        - email-jenkins-admins-on-failure
 
 ################
 # MARCOS
index 4a7dd45..a273c85 100644 (file)
@@ -64,6 +64,7 @@
         - qtip-unit-tests-and-docs-build
     publishers:
         - publish-coverage
+        - email-jenkins-admins-on-failure
 
 # upload juypter notebook to artifacts for review
 - job-template:
index 2170de7..0182488 100644 (file)
@@ -71,6 +71,7 @@
     publishers:
         - email:
             recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
+        - email-jenkins-admins-on-failure
 
 ################
 # MARCOS
index 4f6044b..d12ee5d 100644 (file)
@@ -90,6 +90,7 @@
 
     publishers:
         - publish-coverage
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: '{module}-automate-{stream}'
 
     publishers:
         - 'email-publisher'
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: '{module}-automate-{phase}-{stream}'
index 7502b17..d70640a 100644 (file)
@@ -87,3 +87,4 @@
     publishers:
         - email:
             recipients: '{receivers}'
+        - email-jenkins-admins-on-failure
index fa9c441..7e605b9 100644 (file)
     publishers:
         - email:
             recipients: '{receivers}'
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: '{project}-docker-build-push-monitor-{stream}'
index ecc8730..dc9bfd5 100644 (file)
@@ -52,6 +52,7 @@
     publishers:
         - archive-artifacts:
             artifacts: 'job_output/*'
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'releng-merge-jjb'
index 13186a1..f675cbb 100644 (file)
@@ -81,6 +81,7 @@
                     healthy: 50
                     unhealthy: 40
                     failing: 30
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'storperf-merge-{stream}'
                     healthy: 50
                     unhealthy: 40
                     failing: 30
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'storperf-daily-{stream}'
index d5a444d..998464a 100644 (file)
@@ -83,6 +83,7 @@
     publishers:
         - email:
             recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com zhang.jun3g@zte.com.cn
+        - email-jenkins-admins-on-failure
 #--------------------------------
 # trigger macros
 #--------------------------------
index 319f8eb..fbe7ecf 100644 (file)
     publishers:
         - email:
             recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com
+        - email-jenkins-admins-on-failure
 #--------------------------------
 # trigger macros
 #--------------------------------
index 64e13d3..b582772 100644 (file)
     publishers:
         - email:
             recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com
+        - email-jenkins-admins-on-failure
 
 - job-template:
     name: 'xci-{phase}-{pod}-{distro}-daily-{stream}'
index 4dcface..007384b 100644 (file)
     publishers:
         - email:
             recipients: jean.gaoliang@huawei.com limingjiang@huawei.com ross.b.brattain@intel.com
+        - email-jenkins-admins-on-failure
 
 ########################
 # builder macros