Skip to content

Commit

Permalink
OBS: Fix log containing unrelated content
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbkr committed Nov 5, 2022
1 parent 37e341b commit 13e5cc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/OBS.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ method process-worklist() is serial-dedup {
{ $pack-log // "No log found" }
EOF

# If this build failed, the logs of the succeeding ones are not related to this build. So don't include them here.
last if $build.status{$package} ne "succeeded";
}
$log .= trim-trailing;
$log;
Expand Down

0 comments on commit 13e5cc6

Please sign in to comment.