未验证 提交 8c79d677 编写于 作者: M mouuii 提交者: GitHub

workflow (#693)

Signed-off-by: Nmouuii <chaoyueshijian@gmail.com>
上级 8eaf6182
......@@ -60,6 +60,7 @@ type Workflow struct {
RecentFailedTask *TaskInfo `json:"recentFailedTask"`
AverageExecutionTime float64 `json:"averageExecutionTime"`
SuccessRate float64 `json:"successRate"`
Description string `json:"description,omitempty"`
}
type TaskInfo struct {
......@@ -538,6 +539,7 @@ func ListWorkflows(projects []string, userID string, log *zap.SugaredLogger) ([]
SchedulerEnabled: w.ScheduleEnabled,
Schedules: w.Schedules,
EnabledStages: stages,
Description: w.Description,
})
workflowNames = append(workflowNames, w.Name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册