You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2020/08/14 18:13:38 UTC
[incubator-mxnet-ci] branch master updated: Fix retrieve_metadata
url (#32)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-ci.git
The following commit(s) were added to refs/heads/master by this push:
new 7a29a7a Fix retrieve_metadata url (#32)
7a29a7a is described below
commit 7a29a7a1d41f72f9e4920f9cf38fd193cc489a4a
Author: waytrue17 <52...@users.noreply.github.com>
AuthorDate: Fri Aug 14 11:13:32 2020 -0700
Fix retrieve_metadata url (#32)
Co-authored-by: Wei Chu <we...@amazon.com>
---
services/jenkins-run-statistics/jenkins_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/jenkins-run-statistics/jenkins_utils.py b/services/jenkins-run-statistics/jenkins_utils.py
index c38ad13..b28d27b 100644
--- a/services/jenkins-run-statistics/jenkins_utils.py
+++ b/services/jenkins-run-statistics/jenkins_utils.py
@@ -155,7 +155,7 @@ class JenkinsRun(object):
try:
return ast.literal_eval(
requests.get(url=JENKINS_RUN_METADATA_API.format(job_url=self.parent_job.job_url, run_id=self.run_id),
- params={'tree': tree_filter_string}, allow_redirects=False).text)
+ params={'tree': tree_filter_string}, allow_redirects=True).text)
except SyntaxError:
# Jenkins prints a 404 as HTML with a 200 code...
logging.debug('Run %s does not exist, skipping...', self)