diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/Iurt/Queue.pm | 2 | ||||
-rwxr-xr-x | ulri | 4 |
3 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,5 @@ - ulri: only use mandatory archs for noarch builds +- ulri: kill builds for other architectures in case of failure 0.7.6 - iurt: increase default timeout for commands to 10 minutes diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm index 5d4dbc5..449ec36 100644 --- a/lib/Iurt/Queue.pm +++ b/lib/Iurt/Queue.pm @@ -143,8 +143,6 @@ sub cleanup_failed_build { move($file, "$fail_dir/$prefix/"); } } - - # TODO: abort all builds in progress } sub get_upload_tree_state { @@ -297,6 +297,10 @@ foreach my $prefix (keys %pkg_tree) { unless ($timeout || $zombie || $ended) { # Everything is fine, build is continuing! + # Kill it if that package had failed on a mandatory arch + if (check_if_mandatory_arch_failed($media, $prefix, $ent, $config)) { + ssh($remote, "kill -14 $pid"); + } next bot; } if ($timeout) { |