aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-10-15 19:27:42 +0000
committerPascal Terjan <pterjan@mageia.org>2018-10-16 08:53:07 +0000
commit3a962ef8766b0a735b8491f40f34d31e9a6c3bb7 (patch)
tree23aefc561247884f78a6b4315f12da0e2d06566b /lib
parentb80458f48eeab1469d48fa334e5fafa218536ff2 (diff)
downloadiurt-3a962ef8766b0a735b8491f40f34d31e9a6c3bb7.tar
iurt-3a962ef8766b0a735b8491f40f34d31e9a6c3bb7.tar.gz
iurt-3a962ef8766b0a735b8491f40f34d31e9a6c3bb7.tar.bz2
iurt-3a962ef8766b0a735b8491f40f34d31e9a6c3bb7.tar.xz
iurt-3a962ef8766b0a735b8491f40f34d31e9a6c3bb7.zip
Ignore failures when cancelling builds
This will avoid listing other architectures as failed, and giving some confusing logs.
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Queue.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm
index 7cbc991..3930ca4 100644
--- a/lib/Iurt/Queue.pm
+++ b/lib/Iurt/Queue.pm
@@ -236,6 +236,8 @@ sub get_upload_tree_state {
$pkg_tree{$prefix}{media}{$media}{excluded_arch}{$arch} = 1;
} elsif ($result eq 'fail') {
$pkg_tree{$prefix}{media}{$media}{failed_arch}{$arch} = 1;
+ } elsif ($result eq 'cancelled') {
+ $pkg_tree{$prefix}{media}{$media}{cancelled_arch}{$arch} = 1;
} else {
plog('WARNING', "unknown state $arch.$result for $prefix");
}