From 51e528c70892c8677682f0a4d68a14322e44980f Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Mon, 4 Jul 2016 07:02:54 +0000 Subject: [PATCH] add log for Jenkins API call SVN: 36778 --- integration-tests/source/systemtest/artifactrepository.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-tests/source/systemtest/artifactrepository.py b/integration-tests/source/systemtest/artifactrepository.py index 0ae97e73aba..d4950ea9d37 100644 --- a/integration-tests/source/systemtest/artifactrepository.py +++ b/integration-tests/source/systemtest/artifactrepository.py @@ -84,7 +84,9 @@ class JenkinsArtifactRepository(ArtifactRepository): Downloads the requested artifact from Jenkins. It uses the Jenkins API. """ projectUrl = "%s/job/%s" % (self.baseUrl, project) - handle = urllib.urlopen("%s/lastSuccessfulBuild/api/xml?xpath=//artifact&wrapper=bag" % projectUrl) + apiUrl = "%s/lastSuccessfulBuild/api/xml?xpath=//artifact&wrapper=bag" % projectUrl + printAndFlush("Get artifact info from %s" % apiUrl) + handle = urllib.urlopen(apiUrl) url = None fileName = None dom = xml.dom.minidom.parseString(handle.read()) -- GitLab