From 780807ebd723321e31a6b81a93f991d682d3a247 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 26 Mar 2019 13:47:06 +0100 Subject: [PATCH] Don't hardcode build.opensuse.org --- staging-installcheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/staging-installcheck.py b/staging-installcheck.py index 0ff3a9be..dd165570 100755 --- a/staging-installcheck.py +++ b/staging-installcheck.py @@ -248,7 +248,8 @@ class InstallChecker(object): url = self.api.makeurl(['source', 'home:repo-checker', 'reports', project]) osc.core.http_PUT(url, data=''.join(comment)) - return 'https://build.opensuse.org/package/view_file/home:repo-checker/reports/{}'.format(project) + url = self.api.apiurl.replace('api.', 'build.') + return '{}/package/view_file/home:repo-checker/reports/{}'.format(url, project) def report_state(self, state, report_url, project, repository, buildids): architectures = self.target_archs(project, repository)