|
|
@@ -125,7 +125,8 @@ public class DeploymentServiceImpl implements DeploymentService {
|
|
|
|
|
|
Pipeline pipeline = null;
|
|
|
try {
|
|
|
- pipeline = PipelineFactory.init(pipelinePO.getConfigJson(), projectPO.getUniqueK8sNamespace(), pipelinePO.getName(),pipelinePO.getTemplateName());
|
|
|
+ pipeline = PipelineFactory.init(pipelinePO.getConfigJson(), projectPO.getUniqueK8sNamespace(), pipelinePO.getName());
|
|
|
+ pipeline.addConfig("pipelineHistoryId", history.getId().toString());
|
|
|
pipeline.start();
|
|
|
history.setResult("部署成功");
|
|
|
history.setDetails(pipeline.getContext().getResult());
|