diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-11-26 08:45:44 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-11-26 07:48:10 +0000 |
commit | 2d16850a1b87c5f51c1d79bf5ecba93fee955661 (patch) | |
tree | 59c16cbbdd530dabad79e29aa4e078fd00d2d75b /resources | |
parent | 7d6ee11472e8ab675248616fbc90005eaf73128b (diff) |
Trending: Fix build number in error message.
Change-Id: I1708ebd24a6a26db53a14192b23fe51569543333
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 610e96a2afae5c8e58bee00d05c45d57d7bb6021)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/presentation/generator_alerts.py | 7 |
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 |