Commit 217d20fc authored by Guillaume Pasero's avatar Guillaume Pasero

CI: try to increase max retry

parent 7c25e130
Pipeline #1978 failed with stages
in 42 minutes and 22 seconds
......@@ -141,7 +141,7 @@ class Handler:
full_url = self.url + buildid_api + buildid_params
if trace:
print("full_url: "+full_url)
nb_try = 6
nb_try = 30
build_id_regex = re.compile( "<buildid>([0-9]+)</buildid>" )
while nb_try:
response = urllib.request.urlopen(full_url).read().decode()
......@@ -151,7 +151,7 @@ class Handler:
nb_try -= 1
if buildid or (nb_try == 0):
break
print("No build id, retry ...")
print("No build id, retry "+str(30-nb_try)+"/30 ...")
time.sleep(60)
if buildid:
self.buildid = buildid.group(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment