Skip to content

Commit

Permalink
handled Unable to remove finally tasks in pipeline builder mode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lokanandaprabhu committed Nov 7, 2024
1 parent b114961 commit 21f56cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/pipeline-builder/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,7 @@ export const convertBuilderFormToPipeline = (
task &&
removeEmptyFormFields(removeListRunAfters(task, listIds)),
),
finally:
finallyTasks.length > 0
? finallyTasks
: existingPipeline?.spec?.finally ?? [],
finally: finallyTasks,
},
};
console.log(pipelineYAML, '####', formValues);
Expand Down

0 comments on commit 21f56cc

Please sign in to comment.