예제 #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;
 }