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?
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?
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
Thanks for the response. I'm not sure how I overlooked it or how it happened but the bitbucket-pipelines.yml file was missing the 's'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's good to hear that you figured this out Brad, thank you for the update.
Please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.