From c869d07f7551e3606b0f35e3be44897deddd7064 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 12 Mar 2024 11:52:32 -0700 Subject: [PATCH] ubuntu-build: don't retry builds Launchpad tells us can't be retried --- ubuntu-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu-build b/ubuntu-build index 88ec52f..4babab4 100755 --- a/ubuntu-build +++ b/ubuntu-build @@ -374,11 +374,11 @@ def main(): build.source_package_version ) - if args.retry: + if args.retry and build.can_be_retried: Logger.info("Retrying build of %s on %s...", build.source_package_name, build.arch_tag) - retry_count += 1 build.retry() + retry_count += 1 if args.priority and can_rescore: if build.can_be_rescored: