Bitbucket Pipelines import steps from another repo pipelines

Roel Janken March 14, 2023

I recently discovered some new features in development and hopefully released soon.

In the `pipelines-schema.json` which you can view when using VS Code, there is mentioning of an "import" setting a "Location to import pipelines config from"

"import": {
      "type": "object",
      "properties": {
        "import": {
          "type": "string",
          "pattern": "\\S:\\S",
          "title": "Location to import pipelines config from",
          "description": "The import needs to match the following format: {repo-slug|repo-uuid}:{tag|branch-name}"
In the `bitbucket-pipelines.yml` you want to use as a source to import from, you need to set a property `export: true` on the root level, according to the JSON Schema 
Unfortunately I can not get it to work yet but I am looking forward to a feature to be able to use another pipelines as a template or library.
Does anybody have any experience yet or looked into as well?

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2023

Hello @Roel Janken ,

Thank you for reaching out to the Community!

Our development team is working on functionality that will allow users to share the yml configs in Bitbucket Pipeline. This feature is currently being tracked in the following ticket : 

The implementation of this feature is already in progress, but we cannot provide an ETA on when it will be completed. The best way to stay tuned for any update regarding the implementation of that functionality is to add yourself as a watcher in that ticket, so you will receive first-hand updates whenever there's any progress. Feel free to also add your vote and comments there so it helps give it traction.

Thank you, @Roel Janken !

Patrik S

Roel Janken March 15, 2023

Thanks Patrik for you answer. 
I just added myself as a watcher in mentioned ticket.

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events