From 8edb0c23a1a3339e607f86a7a7cfe78e71dcb92b Mon Sep 17 00:00:00 2001 From: codex Date: Wed, 22 Apr 2026 04:08:56 -0300 Subject: [PATCH] fix(metis): preserve retry command failures --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3c9fee2..f17f1b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -255,8 +255,9 @@ PY while [ "${attempt}" -le "${attempts}" ]; do if "$@"; then return 0 + else + rc=$? fi - rc=$? if [ "${attempt}" -eq "${attempts}" ]; then return "${rc}" fi