Merge "Add send email about 2way job failure"
diff --git a/git-mirror-2way-pipeline.groovy b/git-mirror-2way-pipeline.groovy
index 5dfb4d1..b9be0ab 100644
--- a/git-mirror-2way-pipeline.groovy
+++ b/git-mirror-2way-pipeline.groovy
@@ -42,7 +42,7 @@
          currentBuild.description = currentBuild.description ? e.message + " " + currentBuild.description : e.message
          throw e
       } finally {
-         common.sendNotification(currentBuild.result,"",["slack"])
+         common.sendNotification(currentBuild.result,"",["slack, email"],["failed"],env["JOB_NAME"],env["BUILD_NUMBER"],env["BUILD_URL"],"MCP jenkins",env["RECIPIENTS"])
       }
     }
   }