use of com.thoughtworks.go.domain.Pipeline in project gocd by gocd.
the class PipelineWithRunOnAllJob method createPipelineWithFirstStagePassedAndSecondStageHasNotStarted.
public Pipeline createPipelineWithFirstStagePassedAndSecondStageHasNotStarted() {
Pipeline pipeline = createPipelineWithFirstStageScheduled();
dbHelper.passStage(pipeline.getFirstStage());
return pipeline;
}
use of com.thoughtworks.go.domain.Pipeline in project gocd by gocd.
the class PipelineWithRunOnAllJob method createdPipelineWithAllStagesCompleted.
public Pipeline createdPipelineWithAllStagesCompleted(JobResult result) {
Pipeline pipeline = createPipelineWithFirstStagePassedAndSecondStageHasNotStarted();
scheduleAndCompleteFollowingStages(pipeline, result);
return latestPipelineWithIdentifiers();
}
use of com.thoughtworks.go.domain.Pipeline in project gocd by gocd.
the class PipelineWithTwoStages method createPipelineWithFirstStageScheduled.
public Pipeline createPipelineWithFirstStageScheduled(MaterialRevisions materialRevisions) {
Pipeline pipeline = schedulePipeline(BuildCause.createWithModifications(materialRevisions, ""));
dbHelper.save(pipeline);
return pipeline;
}
use of com.thoughtworks.go.domain.Pipeline in project gocd by gocd.
the class PipelineWithTwoStages method createdPipelineWithAllStagesCompleted.
public Pipeline createdPipelineWithAllStagesCompleted(JobResult result) {
Pipeline pipeline = createPipelineWithFirstStagePassedAndSecondStageHasNotStarted();
scheduleAndCompleteFollowingStages(pipeline, result);
return latestPipelineWithIdentifiers();
}
use of com.thoughtworks.go.domain.Pipeline in project gocd by gocd.
the class PipelineWithTwoStages method createPipelineWithFirstStagePassedAndSecondStageHasNotStarted.
public Pipeline createPipelineWithFirstStagePassedAndSecondStageHasNotStarted() {
Pipeline pipeline = createPipelineWithFirstStageScheduled();
dbHelper.passStage(pipeline.getFirstStage());
return pipeline;
}
Aggregations