aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/specification_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-09-12 09:01:54 +0200
committerTibor Frank <tifrank@cisco.com>2018-09-17 13:20:41 +0000
commit9b3acaab57323a01e3ccd0cc1fd7467350ffed75 (patch)
tree7355a801e32496192b3142cb2a3e9f7b0ee9db97 /resources/tools/presentation/specification_parser.py
parent0c0217c3219f2a7e9273c830663a7d3374e4b5c5 (diff)
CSIT-1131: Alerting
- CSIT-1132: Send e-mail with a list of failed tests - CSIT-1288: Prepare data to be sent by Jenkins Change-Id: I7ac720dca44d7c13b22218abbca7a00d36d459cb Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/specification_parser.py')
-rw-r--r--resources/tools/presentation/specification_parser.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/tools/presentation/specification_parser.py b/resources/tools/presentation/specification_parser.py
index f994a59b35..83838d8212 100644
--- a/resources/tools/presentation/specification_parser.py
+++ b/resources/tools/presentation/specification_parser.py
@@ -113,6 +113,15 @@ class Specification(object):
return self._specification["configuration"]["ignore"]
@property
+ def alerting(self):
+ """Getter - Alerting.
+
+ :returns: Specification of alerts.
+ :rtype: dict
+ """
+ return self._specification["configuration"]["alerting"]
+
+ @property
def input(self):
"""Getter - specification - inputs.
- jobs and builds.