mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +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()
|
uploads.Wait()
|
||||||
|
|
||||||
|
log.Printf("pipeline: logging complete: %s", work.ID)
|
||||||
|
|
||||||
err = client.Done(context.Background(), work.ID, state)
|
err = client.Done(context.Background(), work.ID, state)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Pipeine: error signaling pipeline done: %s: %s", work.ID, err)
|
log.Printf("Pipeine: error signaling pipeline done: %s: %s", work.ID, err)
|
||||||
|
} else {
|
||||||
|
log.Printf("pipeline: done: %s", work.ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue