mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 07:30:16 +01:00
contrib/bkr: fix detection of URLs in Jenkins
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
9e1b6609de
commit
a94f88aaba
1 changed files with 2 additions and 1 deletions
|
|
@ -128,7 +128,8 @@ class UploadFileJenkins(UploadFile):
|
|||
m = re.match('^artifact/.*' + self.pattern + '.*$', a.group(1))
|
||||
if m:
|
||||
u = mainpage + m.group(0)
|
||||
if not u.endswith('/*fingerprint*/'):
|
||||
if not u.endswith('/*fingerprint*/') and \
|
||||
not u.endswith('/*view*/'):
|
||||
urls.append(u)
|
||||
if not urls:
|
||||
raise Exception("Could not detect any URLs on jenkins for '%s' (see %s%s/)" % (self.uri, UploadFileJenkins.jenkins_base_url, self.jid))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue