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

Pipelines page incorrectly reports that there is a bitbucket-pipelines.yml file in this repository, templates missing (initial configuration)

XMLWordPrintable

      Issue Summary

      The Pipelines page of a repo used to show templates for the initial configuration of a bitbucket-pipelines.yml file, in repositories where Pipelines had never been enabled.

      These templates are now missing and the page incorrectly informs the user that they already have a bitbucket-pipelines.yml file in the repo.

      Steps to Reproduce

      1. On Bitbucket's website, open a repository that has never had Pipelines enabled
      2. Select Pipelines from the left sidebar

      Expected Results

      The page used to show Pipelines templates so that a user creates and commits an initial bitbucket-pipelines.yml file.

      Actual Results

      The page shows the following:

       

      Build, test and deploy with Pipelines
      
      Easy to set up Integrated CI/CD for Bitbucket Cloud that helps you automate your code from test to production in the Cloud or using your own infrastructure.
      
      Looks like you already have a bitbucket-pipelines.yml file in this repository
      

       

      Selecting Review pipeline on this page redirects the user to the Source page of the bitbucket-pipelines.yml file which doesn't exist, with a message "Resource not found".

      Workaround

      Currently there is no workaround for showing the templates.

      The following steps can be used to enable Pipelines and create a bitbucket-pipelines.yml file:

      1. On Bitbucket's website, open the repository
      2. Select Repository settings from the left sidebar
      3. Select Settings under the section titled Pipelines from the new left sidebar
      4. On the new page, select the toggle to enable Pipelines

      Afterwards, the bitbucket-pipelines.yml can be created either locally or via the website.

      Locally, a user can create it in a clone of the repo, commit it, and then push the commit to Bitbucket.

      From the website, a user can create it from the Source page of the repo > select the 3 dots menu (near the top right corner) > select Add file.

      The following documentation pages can be used as a reference for the content of the bitbucket-pipelines.yml file:

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: