From 02277a3ffef83690d0aed6dc1eefd7e941af344b Mon Sep 17 00:00:00 2001 From: aravind-bommena Date: Thu, 2 Nov 2023 13:40:33 +0530 Subject: [PATCH] fixing the issue of create new pipeline --- .../src/pipeline/config/services/PipelineConfigService.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/src/pipeline/config/services/PipelineConfigService.ts b/packages/core/src/pipeline/config/services/PipelineConfigService.ts index b0155f178a0..723ddf3e3ce 100644 --- a/packages/core/src/pipeline/config/services/PipelineConfigService.ts +++ b/packages/core/src/pipeline/config/services/PipelineConfigService.ts @@ -114,10 +114,11 @@ export class PipelineConfigService { public static savePipeline(toSave: IPipeline): PromiseLike { const pipeline = cloneDeep(toSave); - const applicationName = pipeline['application']; + // const applicationName = pipeline['application']; delete pipeline.isNew; pipeline.name = pipeline.name.trim(); - return this.getAppDetailsbyID(pipeline.name, pipeline, applicationName); + // return this.getAppDetailsbyID(pipeline.name, pipeline, applicationName); + return this.savePipelineStageConfig(pipeline); } public static reorderPipelines(