chore(runtime): fetch build data
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
631f801aa6
commit
d3d56ed0ef
9 changed files with 77 additions and 78 deletions
|
@ -94,12 +94,5 @@ 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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue