reconquest / atlassian-external-hooks

External Hooks plugin for Atlassian Bitbucket
https://external-hooks.reconquest.io
Other
44 stars 37 forks source link

post receive hook not firing #15

Closed twendtatadvent closed 9 years ago

twendtatadvent commented 9 years ago

I'm running Stash 3.2.0 on a Windows server, and can't seem to get the post-receive external hook to fire. I've tried both version 2.0-1 and 1.3-9, and both fire the pre-receive hook but not the post-receive hook. The configuration for both hooks is the same in my test: executable:

c:\Git\bin\bash.exe

positional params:

-c
pwd > /c/tmp/<file>.txt

where file is either 'pre-file' or 'post-file'. When I push to the repository, pre-file.txt is created but post-file.txt is not.

Any suggestions what to try next?

seletskiy commented 9 years ago

Try to enable debug logging in Stash admin panel. If there are some errors, you'll probably see them.

twendtatadvent commented 9 years ago

Duh. Of course. Thanks.

Looks like we might have this issue: https://confluence.atlassian.com/display/STASHKB/RejectedExecutionException

Looking into it.

seletskiy commented 9 years ago

Interesting. Thanks for that link.

If you will find something linked with External Hooks plugin, please, let me know. Closing issue for now. Hope you'll resolve your issue.