示例#1
0
 public BuildStarted(Guid buildId, PipelineStatus status, string repoUrl, int sequenceId, Guid agentId)
     : base(buildId, sequenceId)
 {
     Status = status;
     RepoUrl = repoUrl;
     AgentId = agentId;
 }
示例#2
0
文件: Pipeline.cs 项目: pshomov/frog
 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;
 }