reconquest / atlassian-external-hooks

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

External hook not working with bitbucket v5.12.0 #99

Open ultamigration opened 4 years ago

ultamigration commented 4 years ago

I have installed the trial version of External hook for doing a POC, but it looks like the plugin is not working with bitbucket v5.12.0 (Our Production Version). Does anyone else reported an issue like this? I have used the hook to call a shell script.

kovetskiy commented 4 years ago

Hi. Nope, we did not receive such reports before. What version of External Hooks do you have?

On Wed, Oct 2, 2019, 19:21 ultamigration notifications@github.com wrote:

I have installed the trial version of External hook for doing a POC, but it looks like the plugin is not working with bitbucket v5.12.0 (Our Production Version). Does anyone else reported an issue like this? I have used the hook to call a shell script.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/reconquest/atlassian-external-hooks/issues/99?email_source=notifications&email_token=ACAN7ZC6EBKNPSO7NZLKJFDQMTDAJA5CNFSM4I4YRNVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPFWOBQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAN7ZA3TXNF54HOPRRRFHLQMTDAJANCNFSM4I4YRNVA .

ultamigration commented 4 years ago

v. 4.7-1 is the plugin version. We have another sandbox instance of bitbucket which is v6.6.2 uses plugin version v. 7.1.0-2, where it works well.!

kovetskiy commented 4 years ago

We've also received your email where you also mentioned that you use Async Post Receive Hook and you've attached a screenshot with the full path to a script.

What doesn't work exactly in the POC? I've just installed BB 5.12.0 and tested 4.7 and 4.8 versions of External Hooks. Did you try to debug your script and add a line like date >> /tmp/post-receive-hook-test in your script and then check that file /tmp/post-receive-hook-test exists?

Also, I'd like to remind you that in older versions of Bitbucket there was no technical capability to run Post Receive hooks in synchronous mode, it means that a user who does push does not receive any output from the Async Post Receive hook.