mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-09 00:30:28 +00:00
feat: task can report step and final result
This commit is contained in:
1 parent
9be39b8cd4
commit
6030610c04
7 files changed
+219
-36
No files matched your search
@@ -93,5 +93,12 @@ func (p *Poller) poll(ctx context.Context, thread int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// FIXME: for testing task
|
||||
// stage.Id = 111
|
||||
// stage.BuildId = 1222
|
||||
|
||||
// set client to context, so that the stage can use it to
|
||||
ctx = client.WithClient(ctx, p.Client)
|
||||
|
||||
return p.Dispatch(ctx, stage)
|
||||
}
|
||||
Reference in new issue
Block a user