-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added projectType and step startTime #657
Conversation
@@ -105,6 +105,7 @@ type StepIDData struct { | |||
|
|||
// BuildRunResultsModel ... | |||
type BuildRunResultsModel struct { | |||
ProjectType string `json:"project_type" yaml:"project_type"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Status int `json:"status" yaml:"status"` | ||
Idx int `json:"idx" yaml:"idx"` | ||
RunTime time.Duration `json:"run_time" yaml:"run_time"` | ||
StartTime time.Time `json:"start_time" yaml:"start_time"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cli/run_util.go
Outdated
RunTime: time.Now().Sub(stepStartTime), | ||
ErrorStr: errStr, | ||
ExitCode: exitCode, | ||
StartTime: startTime, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do not you use stepStartTime
or the copy of stepStartTime
if it would point to the last startTime?
No description provided.