| com.atlassian.bitbucket.hook.PostReceiveHook |
This interface is deprecated.
in 5.0 for removal in 6.0. Use a repository-hook module and implement
PostRepositoryHook instead.
Set configurable="false" on the module to create a hook that is enabled for all repositories
and check the getTrigger() hook trigger} to only respond to
pushes. If the
hook must be called synchronously, make sure to annotate the implementation class with
SynchronousPreferred
Hook that is called just after a push request is completed.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Callback method that is called just after a push request is completed.
| |||||||||||
Callback method that is called just after a push request is completed. This hook executes during the processing
of a push and the client will have to wait during the execution of the onReceive method.
| repository | the repository that was pushed to |
|---|---|
| refChanges | the refs that have just been updated |
| response | used to write to the client's stdout and/or stderr |