Skip to content

Commit

Permalink
Merge pull request #14472 from lokanandaprabhu/feature/OCPBUGS-44305
Browse files Browse the repository at this point in the history
OCPBUGS-44305: Unable to remove finally tasks in pipeline builder mode
  • Loading branch information
openshift-merge-bot[bot] authored Nov 21, 2024
2 parents c81de79 + 9af8591 commit ea76ee6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export const convertBuilderFormToPipeline = (
? tasks
: existingPipeline?.spec?.tasks ??
[].map((task) => task && removeEmptyFormFields(removeListRunAfters(task, listIds))),
finally: finallyTasks.length > 0 ? finallyTasks : existingPipeline?.spec?.finally ?? [],
finally: finallyTasks,
},
};
};
Expand Down

0 comments on commit ea76ee6

Please sign in to comment.