Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Deleting or Editing an Accidentally Created Pipeline in Bitbucket

ed Pamuk
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!
October 23, 2024

Hello,

I have accidentally created a pipeline in Bitbucket, and I would like to delete or edit it. However, the delete and edit buttons are not active. I have all the necessary permissions for the project, but I am unable to perform these actions. How can I resolve this issue? Any help would be appreciated.

Thank you.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 25, 2024

Hi Ed and welcome to the community!

It is not clear which of the following you are trying to do:

  • Delete or edit the bitbucket-pipelines.yml file from the repo with the Pipelines configuration.
  • Delete a Pipelines build run from the Pipelines page of the repo.

Can you please clarify?

If you want to delete or edit the bitbucket-pipelines.yml file from Bitbucket's website:

  • Please ensure you are looking at the version of the bitbucket-pipelines.yml file in the latest commit and not in an older commit.
  • Check if there are branch restrictions on the repo that may prevent you from writing the branch the bitbucket-pipelines.yml file is on.

You can always delete the file locally in a clone of the repo, commit the changes and then push to Bitbucket. Please keep in mind that your user needs to have permissions to write to the branch you are trying to push.

If you want to delete a certain build run from the Pipelines page of the repo, I'm afraid that this is not supported at the moment. You can delete the build log if you open the build and then select the trash icon at the upper right corner of the build log.

You can also disable Pipelines for the repository from Repository settings > section PIPELINES - Settings. This is not going to remove any existing builds, but it will prevent Pipelines from running again in this repo (unless you re-enable later).

Please feel free to reach out if you have any questions!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events