fix(metis): preserve retry command failures
This commit is contained in:
parent
8b23c985ca
commit
8edb0c23a1
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -255,8 +255,9 @@ PY
|
|||||||
while [ "${attempt}" -le "${attempts}" ]; do
|
while [ "${attempt}" -le "${attempts}" ]; do
|
||||||
if "$@"; then
|
if "$@"; then
|
||||||
return 0
|
return 0
|
||||||
|
else
|
||||||
|
rc=$?
|
||||||
fi
|
fi
|
||||||
rc=$?
|
|
||||||
if [ "${attempt}" -eq "${attempts}" ]; then
|
if [ "${attempt}" -eq "${attempts}" ]; then
|
||||||
return "${rc}"
|
return "${rc}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user