aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-10-14 22:48:02 +0000
committerPascal Terjan <pterjan@mageia.org>2018-10-14 22:51:53 +0000
commitea9871879d0900d84b8c1a1a4b93db9fac754aed (patch)
tree7666e5e7194c0e186c163bed163dd0f79281297f /ulri
parent33e3b1947012309582892b54d4404f4f37745142 (diff)
downloadiurt-ea9871879d0900d84b8c1a1a4b93db9fac754aed.tar
iurt-ea9871879d0900d84b8c1a1a4b93db9fac754aed.tar.gz
iurt-ea9871879d0900d84b8c1a1a4b93db9fac754aed.tar.bz2
iurt-ea9871879d0900d84b8c1a1a4b93db9fac754aed.tar.xz
iurt-ea9871879d0900d84b8c1a1a4b93db9fac754aed.zip
Kill other architectures in case of failure
Diffstat (limited to 'ulri')
-rwxr-xr-xulri4
1 files changed, 4 insertions, 0 deletions
diff --git a/ulri b/ulri
index 5398a9b..ad1fef8 100755
--- a/ulri
+++ b/ulri
@@ -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) {