mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
improve logging
This commit is contained in:
parent
ba23d05231
commit
a27b21909c
1 changed files with 4 additions and 0 deletions
|
@ -306,9 +306,13 @@ func run(ctx context.Context, client rpc.Peer, filter rpc.Filter) error {
|
|||
|
||||
uploads.Wait()
|
||||
|
||||
log.Printf("pipeline: logging complete: %s", work.ID)
|
||||
|
||||
err = client.Done(context.Background(), work.ID, state)
|
||||
if err != nil {
|
||||
log.Printf("Pipeine: error signaling pipeline done: %s: %s", work.ID, err)
|
||||
} else {
|
||||
log.Printf("pipeline: done: %s", work.ID)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue