From 8dbdb574c248f8853245a6c65b11540144ac65e2 Mon Sep 17 00:00:00 2001
From: helenyao <yaohelan@huawei.com>
Date: Fri, 20 Jan 2017 01:35:40 -0500
Subject: Enable CI notification when the image build failed

JIRA: FUNCTEST-666

Change-Id: I4bfb6690f01df67ce113e972963a698276157afa
Signed-off-by: helenyao <yaohelan@huawei.com>
---
 jjb/releng/opnfv-docker.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/jjb/releng/opnfv-docker.yml b/jjb/releng/opnfv-docker.yml
index 02dfb7560..87b03626e 100644
--- a/jjb/releng/opnfv-docker.yml
+++ b/jjb/releng/opnfv-docker.yml
@@ -14,32 +14,51 @@
         stream: danube
         branch: 'stable/{stream}'
         disabled: true
+    functest-receivers: &functest-receivers
+        receivers: >
+            jose.lausuch@ericsson.com morgan.richomme@orange.com
+            cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
+            yaohelan@huawei.com helanyao@gmail.com
+            juha.kosonen@nokia.com
+    other-receivers: &other-receivers
+        receivers: ''
 
     project:
         # projects with jobs for master
         - 'bottlenecks':
             <<: *master
+            <<: *other-receivers
         - 'cperf':
             <<: *master
+            <<: *other-receivers
         - 'dovetail':
             <<: *master
+            <<: *other-receivers
         - 'functest':
             <<: *master
+            <<: *functest-receivers
         - 'qtip':
             <<: *master
+            <<: *other-receivers
         - 'storperf':
             <<: *master
+            <<: *other-receivers
         - 'yardstick':
             <<: *master
+            <<: *other-receivers
         # projects with jobs for stable
         - 'bottlenecks':
             <<: *danube
+            <<: *other-receivers
         - 'functest':
             <<: *danube
+            <<: *functest-receivers
         - 'storperf':
             <<: *danube
+            <<: *other-receivers
         - 'yardstick':
             <<: *danube
+            <<: *other-receivers
 
     jobs:
         - '{project}-docker-build-push-{stream}'
@@ -95,6 +114,10 @@
         - pollscm:
             cron: "*/30 * * * *"
 
+    publishers:
+        - email:
+            recipients: '{receivers}'
+
 - job-template:
     name: '{project}-docker-build-push-monitor-{stream}'
     disabled: '{obj:disabled}'
-- 
cgit 1.2.3-korg