Skip to content

Commit

Permalink
Merge pull request #183 from lokanandaprabhu/feature/SRVKP-6739
Browse files Browse the repository at this point in the history
SRVKP-6739: Unable to remove finally tasks in pipeline builder mode
  • Loading branch information
openshift-merge-bot[bot] authored Nov 13, 2024
2 parents 83a37ab + 21f56cc commit 3169cbc
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 @@ -462,10 +462,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 3169cbc

Please sign in to comment.