We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ViewStepLog
1 parent 355a078 commit 28077e6Copy full SHA for 28077e6
routers/web/repo/actions/view.go
@@ -106,9 +106,10 @@ type ViewJobStep struct {
106
}
107
108
type ViewStepLog struct {
109
- Step int `json:"step"`
110
- Cursor int64 `json:"cursor"`
111
- Lines []*ViewStepLogLine `json:"lines"`
+ Step int `json:"step"`
+ Cursor int64 `json:"cursor"`
+ Lines []*ViewStepLogLine `json:"lines"`
112
+ Started int64 `json:"started"`
113
114
115
type ViewStepLogLine struct {
@@ -241,9 +242,10 @@ func ViewPost(ctx *context_module.Context) {
241
242
243
244
resp.Logs.StepsLog = append(resp.Logs.StepsLog, &ViewStepLog{
- Step: cursor.Step,
245
- Cursor: cursor.Cursor + int64(len(logLines)),
246
- Lines: logLines,
+ Step: cursor.Step,
+ Cursor: cursor.Cursor + int64(len(logLines)),
247
+ Lines: logLines,
248
+ Started: int64(step.Started),
249
})
250
251
0 commit comments