Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
217d20fc
Commit
217d20fc
authored
Jun 26, 2019
by
Guillaume Pasero
Browse files
CI: try to increase max retry
parent
7c25e130
Pipeline
#1978
failed with stages
in 42 minutes and 22 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
CI/cdash_handler.py
View file @
217d20fc
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment