Skip to content

Commit

Permalink
fixing the issue of create new pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-bommena committed Nov 2, 2023
1 parent 3dfa9a9 commit 02277a3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ export class PipelineConfigService {

public static savePipeline(toSave: IPipeline): PromiseLike<void> {
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(
Expand Down

0 comments on commit 02277a3

Please sign in to comment.