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
|
||||
if "$@"; then
|
||||
return 0
|
||||
fi
|
||||
else
|
||||
rc=$?
|
||||
fi
|
||||
if [ "${attempt}" -eq "${attempts}" ]; then
|
||||
return "${rc}"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user