How to manually stop building by removing your deploy key and webhook from Bitbucket

You can stop building your project on CircleCI at any time by navigating to the project settings page and clicking the "Stop Building" button.


In the event you are for some reason unable to stop building, you can always manually stop building by removing access to the repository from Bitbucket.

Some reasons you may potentially need to do this:

  • You have renamed your Organization, Username, or Repo
  • User credentials have become stale 


1. Start by accessing your Bitbucket repository settings


2. From the settings page, on the left side in the vertical navigation, we see the two pages we are interested in, "Webhooks" and "Access keys".



3. From the Webhooks page, locate any Webhooks that post to CircleCI and delete them. 


4. Lastly, navigate to the "Access keys" page and delete the key added by CircleCI



This will stop the project from building on CircleCI in the event you need to manually remove access.

Was this article helpful?
0 out of 1 found this helpful



Please sign in to leave a comment.