Enable CI notification when the image build failed 71/27271/2
authorhelenyao <yaohelan@huawei.com>
Fri, 20 Jan 2017 06:35:40 +0000 (01:35 -0500)
committerhelenyao <yaohelan@huawei.com>
Fri, 20 Jan 2017 08:19:24 +0000 (03:19 -0500)
JIRA: FUNCTEST-666

Change-Id: I4bfb6690f01df67ce113e972963a698276157afa
Signed-off-by: helenyao <yaohelan@huawei.com>
jjb/releng/opnfv-docker.yml

index 02dfb75..87b0362 100644 (file)
         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}'
         - pollscm:
             cron: "*/30 * * * *"
 
+    publishers:
+        - email:
+            recipients: '{receivers}'
+
 - job-template:
     name: '{project}-docker-build-push-monitor-{stream}'
     disabled: '{obj:disabled}'