I would like to be able import a pipeline as a step
the custom import below works, but I would like the ability to add the imported pipeline as a step.
pipelines:
custom:
import-pipeline:
import: build-tools:initial-commit:share-pipeline-1
default:
- parallel:
fail-fast: true
steps:
- step: *mavenBuild
- step:
import: build-tools:initial-commit:share-pipeline-1
- step:
Hi @Ananth Sarathy ,
With the release of Dynamic Pipelines you can now achieve a greater level of flexibility with the Bitbucket pipelines.
I just published this article explaining how to add a step dynamically to a repository. You'll also see that there is a greater level of flexibility with what can be achieved considering that, the app logic, can change the entire pipeline of a repository.
Hope this helps,
Caterina
Hey @Ananth Sarathy and welcome to the Community!
Currently, the shared pipelines feature only allows you to export/import the entire pipeline definition between repositories. I'm afraid it's not possible to import a single step or import the pipeline as a step (see Share Pipelines Configuration FAQ | Bitbucket Cloud).
We have a feature request opened to improve the capabilities of shared pipelines, which includes the possibility to share individual steps of a pipeline between repositories :
We encourage you to Vote for that feature so it gets more visibility and helps our developers understand the interest. Also, you have the option to set yourself as a Watcher so you will be notified whenever there's any progress on that feature. New features are implemented based on this policy.
Thank you, @Ananth Sarathy !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.