Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a full working example of share-ci-config

Amyn Sheriff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

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.

 

 

1 answer

1 vote
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2024

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 in importing-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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events