Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure via API #62

Closed
ispyinternet opened this issue Dec 17, 2017 · 3 comments
Closed

Configure via API #62

ispyinternet opened this issue Dec 17, 2017 · 3 comments

Comments

@ispyinternet
Copy link

Would love to be able to set a hook using the bitbucket REST API endpoint. Any chance you can hook into this?

@dborisov
Copy link

Hey guys is there any plan to implement this soon? Manual hook configuration on 100+ repos is a big problem.

@kovetskiy
Copy link
Member

@dborisov Hi!

The hook can be turned on/off and configured using built-in Bitbucket REST API as any other hooks, but we have implemented a tool in a separated repository: https://github.com/reconquest/bitbucket-external-hook

Here is a simple example of how we enable & configure the pre-receive hook in a repository: https://github.com/reconquest/atlassian-external-hooks/blob/master/testutils/create-prereceive-hook

You might also be interested in https://github.com/kovetskiy/stacket

Sorry for forgetting to mention it here in the issue.

@dborisov
Copy link

@kovetskiy Great! Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants