public BuildStarted(Guid buildId, PipelineStatus status, string repoUrl, int sequenceId, Guid agentId) : base(buildId, sequenceId) { Status = status; RepoUrl = repoUrl; AgentId = agentId; }
PipelineStatus GeneratePipelineStatus(List<ExecutableTask> execTasks) { var pipelineStatus = new PipelineStatus(); foreach (var execTask in execTasks) { pipelineStatus.Tasks.Add(new TaskInfo { Name = execTask.Name, Status = TaskInfo.TaskStatus.NotStarted, TerminalId = Guid.NewGuid() }); } return pipelineStatus; }