Pipeline no longer exists

Brad Bernhardt
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!
January 4, 2025

I created a new repo and setup a pipeline for deploying to an Azure static website. At some point the bitbucket-pipelines.yml file was deleted. I reset the current branch to before the yaml file was deleted but now when I go to 'Run Pipeline' there are no pipelines listed. I have only deployed from the 'main' branch and that's where I'm trying to run it from.

I have used the pipeline validator and it checks out just fine. I have also tried to create a new pipeline but don't see an option (I'm assuming since one had been created before).

The only way I can get it to run it to take a previous run (there aren't many and they all failed) and click on re-run.

Is there a way to get Bitbucket to recognize my pipeline or just remove it and create a new one?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2025

Hi Brad and welcome to the community!

I would like to ask a few questions so I can better help you:

1. You mentioned going to the 'Run Pipeline' option. Do you select this option from the Pipelines page of the repo? Or from the page of a specific commit?

2. If you're using the 'Run Pipeline' option from the Pipelines page of the repo, are you trying to run a pipeline for the branch named 'main', or for a different one?

  • Does the bitbucket-pipelines.yml file exist for the branch that you want to run the pipeline for?

    If you open this repository on Bitbucket's website, select the Source page from the left sidebar, ensure that the branch you want to run the pipeline for is selected in the dropdown above the file list, and do a hard refresh on your browser, is the bitbucket-pipelines.yml file listed there?

If you use the 'Run Pipeline' option from a specific commit's page, the bitbucket-pipelines.yml file needs to exist on that specific commit. If you use the 'Run pipeline' option from the Pipelines page of the repo, and you select a specific branch, then a bitbucket-pipelines.yml needs to exist on this branch's last commit.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events