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

External hook not working with bitbucket v5.12.0 #99

Open
ultamigration opened this issue Oct 2, 2019 · 3 comments
Open

External hook not working with bitbucket v5.12.0 #99

ultamigration opened this issue Oct 2, 2019 · 3 comments

Comments

@ultamigration
Copy link

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
Copy link
Member

kovetskiy commented Oct 2, 2019 via email

@ultamigration
Copy link
Author

ultamigration commented Oct 2, 2019

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
Copy link
Member

kovetskiy commented Oct 3, 2019

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.

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

3 participants