diff options
author | Pascal Terjan <pterjan@google.com> | 2014-01-18 09:44:01 -0800 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-01-19 05:13:33 +0000 |
commit | 1739a98da9f74d4180d876d520feef36ae7764b4 (patch) | |
tree | 214d73ca852b291a62deab029232ef110f28ce72 /ulri | |
parent | 5f82c7bcec4604ae402f3ec0d7cb2adf6bc046c2 (diff) | |
download | iurt-1739a98da9f74d4180d876d520feef36ae7764b4.tar iurt-1739a98da9f74d4180d876d520feef36ae7764b4.tar.gz iurt-1739a98da9f74d4180d876d520feef36ae7764b4.tar.bz2 iurt-1739a98da9f74d4180d876d520feef36ae7764b4.tar.xz iurt-1739a98da9f74d4180d876d520feef36ae7764b4.zip |
Still cleanup the queues when fetching logs for a failure fail (Probably never actually happens)
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -464,21 +464,16 @@ foreach my $prefix (keys %pkg_tree) { plog('ERROR', "copying from $host:$prefix_dir/ " . "to $fail_dir/ failed ($!)"); $compildone->{$prefix}{$media}{$arch} = 0; - # clean the log on the compilation machine - ssh($remote, "rm -rf $prefix_dir"); - next bot; } - # What to do with the previously build packages? Move them to - # failure, rejected ? - # 20061220 warly move them to failure for now - + # Move already built packages to failures if one arch failed foreach my $rpm (@{$ent->{rpms}}) { my $file = "$done_dir/${prefix}_$rpm"; plog('DEBUG', "moving built rpm $file to $fail_dir/${prefix}_$rpm"); link $file, "$fail_dir/${prefix}_$rpm"; unlink $file; } + # Should clean the queue # Must remove the SRPM and the lock foreach my $srpm (@{$ent->{srpms}}) { |