|
@@ -42,12 +42,16 @@ public class PipelineInfoVO {
|
|
|
@ApiModelProperty("最后一次发起流水线构建的执行结果详情")
|
|
@ApiModelProperty("最后一次发起流水线构建的执行结果详情")
|
|
|
String details;
|
|
String details;
|
|
|
|
|
|
|
|
|
|
+ @ApiModelProperty("最后一次发起流水线构建的历史信息id")
|
|
|
|
|
+ Integer historyId;
|
|
|
|
|
+
|
|
|
public PipelineInfoVO(PipelinePO pipelinePO, PipelineHistoryPO pipelineHistoryPO, String username){
|
|
public PipelineInfoVO(PipelinePO pipelinePO, PipelineHistoryPO pipelineHistoryPO, String username){
|
|
|
if (pipelineHistoryPO != null && username != null){
|
|
if (pipelineHistoryPO != null && username != null){
|
|
|
startTime = pipelineHistoryPO.getStartTime();
|
|
startTime = pipelineHistoryPO.getStartTime();
|
|
|
userId = pipelineHistoryPO.getUserId();
|
|
userId = pipelineHistoryPO.getUserId();
|
|
|
result = pipelineHistoryPO.getResult();
|
|
result = pipelineHistoryPO.getResult();
|
|
|
details = pipelineHistoryPO.getDetails();
|
|
details = pipelineHistoryPO.getDetails();
|
|
|
|
|
+ historyId = pipelineHistoryPO.getId();
|
|
|
this.username = username;
|
|
this.username = username;
|
|
|
}
|
|
}
|
|
|
name = pipelinePO.getName();
|
|
name = pipelinePO.getName();
|