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

Manually Stop Building on CircleCI 

You can stop building your project on CircleCI at any time, by navigating to the project settings (https://app.circleci.com/settings/project/<vcs>/<org>/<project>) page and clicking the "Stop Building" button.

mceclip0.png

If you are for some reason unable to stop building using the above method, you can always do so by removing access to the repository from Bitbucket.

Some reasons you may potentially need to do this:

  • You have renamed your organization, username, or repository
  • User credentials have become stale 

Removing CircleCI webhooks from your repository in BitBucket 

1. Start by accessing your Bitbucket repository settings

bb_repo_settings.png

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

bb_webhooks.png

 

bb_access_keys.png

 

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

 Screen_Shot_2019-06-18_at_1.48.12_PM.png

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

Screen_Shot_2019-06-18_at_1.49.29_PM.png

 

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

Was this article helpful?
2 out of 6 found this helpful

Comments

0 comments

Article is closed for comments.