summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-09-20 10:50:09 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-09-20 10:50:09 +0200
commit148c664f39725f56811ca20237c1456dbc17c5e0 (patch)
tree07715ba981fb131b0c6b3e1c386f24eff9a8b753
parent0225e909b8c8da089c1bbe2f6b4f162dd6d46188 (diff)
esc-collect: Dump bugzilla data first
For some reason, esc-collect might stop working before dumping the bugzilla data, causing the following scripts to use obsolete data. This is causing the automated script to send incorrect comments in Bugzilla, annyoing people to retest their bugs several times Change-Id: Idbf011be926218130a142b4658f3ea085166216e
-rwxr-xr-xesc-reporting/esc-collect.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 95c9ecc4..2ad9cc36 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -702,6 +702,11 @@ def runCfg(platform):
def runBuild(cfg):
try:
+ bugzillaData = get_bugzilla(cfg)
+ except Exception as e:
+ common.util_errorMail(cfg, 'esc-collect', 'ERROR: get_bugzilla failed with ' + str(e))
+ pass
+ try:
gerritData = get_gerrit(cfg)
except Exception as e:
common.util_errorMail(cfg, 'esc-collect', 'ERROR: get_gerrit failed with ' + str(e))
@@ -717,11 +722,6 @@ def runBuild(cfg):
common.util_errorMail(cfg, 'esc-collect', 'ERROR: get_openhub failed with ' + str(e))
pass
try:
- bugzillaData = get_bugzilla(cfg)
- except Exception as e:
- common.util_errorMail(cfg, 'esc-collect', 'ERROR: get_bugzilla failed with ' + str(e))
- pass
- try:
ESCData = get_esc_bugzilla(cfg)
except Exception as e:
common.util_errorMail(cfg, 'esc-collect', 'ERROR: get_esc_bugzilla failed with ' + str(e))