Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18928

Ability to run script commands against services in Bitbucket Pipelines

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently, it is not possible to do any setup to services in Bitbucket Pipelines. However, it would be nice to be able to add seed data or run other kinds of commands before using the service in the main step script.

      For example:

      image: dotnet
      pipelines:
      default:
      - step:
      services:
      - database
      script:
      - dotnet restore
      - dotnet build

      definitions:
      services:
      database:
      image: mongo
      <it would be really nice if I could add setup steps here>

      Attachments

        Activity

          People

            ayang@atlassian.com Aneita
            460fb6f17aa4 Haley Loyd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: