aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-11-26 08:45:44 +0100
committerTibor Frank <tifrank@cisco.com>2020-11-26 08:45:44 +0100
commit610e96a2afae5c8e58bee00d05c45d57d7bb6021 (patch)
tree0b7a4c832bda00a83c5c43a9e2338c8ab2e13f5e /resources/tools/presentation
parent8e712c8f59fbc0d5488a452540d1acfb3162b942 (diff)
Trending: Fix build number in error message.
Change-Id: I1708ebd24a6a26db53a14192b23fe51569543333 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_alerts.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/resources/tools/presentation/generator_alerts.py b/resources/tools/presentation/generator_alerts.py
index 74bcd5639e..156e99ccc0 100644
--- a/resources/tools/presentation/generator_alerts.py
+++ b/resources/tools/presentation/generator_alerts.py
@@ -367,14 +367,9 @@ class Alerting:
build, version, passed, failed, failed_tests = \
self._get_compressed_failed_tests(alert, test_set)
if build is None:
- ret_code, build_nr, _ = get_last_completed_build_number(
- self._spec.environment[u"urls"][u"URL[JENKINS,CSIT]"],
- alert[u"urls"][idx].split(u'/')[-1])
- if ret_code != 0:
- build_nr = u''
text += (
f"\n\nNo input data available for {test_set_short}. "
- f"See CSIT build {alert[u'urls'][idx]}/{build_nr} for more "
+ f"See CSIT job {alert[u'urls'][idx]} for more "
f"information.\n"
)
continue