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(