diff --git a/integration-tests/source/systemtest/artifactrepository.py b/integration-tests/source/systemtest/artifactrepository.py index 0ae97e73aba784bb3b83b46f16d7c8081a5ba980..d4950ea9d376f382608a47c59360020a4582222b 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())