As part of migration from svn to bitbucket on premise, we have some custom pre and post commit hooks which needed to be migrated to server end on bitbucket. How this could be done? I could not find any information online .
Custom hooks should be implemented as parts of a custom app for Bitbucket Server (and Data Center).
The two relevant modules you should implement are these:
We have developed a few these, and they work reliably.
I agree about thase. But I am asking about pre-commit and post-commit to be implemented at server level so that whenever a developer clones the repo,the hooks are available to him.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Those modules are parts of apps that run on the server!
That means that everyone who tries to push to the server-side origins, will trigger the two hook types I mentioned. Just read the docs!
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.