Atlassian has couple of write-ups on sharing pipeline steps across repos (in the same workspace). But both of them end without including a concrete example of how the imported pipeline steps can be triggered.
https://bitbucket.org/blog/share-ci-config
https://support.atlassian.com/bitbucket-cloud/docs/share-pipelines-configurations/
Is there an example with actual trigger of the shared pipeline?
Thanks.
G'day, @Amyn Sheriff
Can you explain what trigger you are looking for? Are you looking for the following trigger in our blog:
You can now trigger
importing-pipeline
inimporting-repo
and it will use the configuration from the exported pipeline config.
If yes, what this means is that you can now run the pipeline build in another repository that you want to use the share config. You can simply run the pipeline normally as long as it has the following config in the YML:
pipelines:
custom:
importing-pipeline:
import: shared-pipeline:master:shared-pipeline-config
Let me know if this is not what you were looking for.
Regards,
Syahrul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.