Tried creating a pre and post receive hook in bitBucket 5.2.2 instance but its not working on doing one commit to that repo.
I am just trying to create one txt file in that hook...
echo text in this file > bla.txt
echo test.
I am following this link help url
here, they said that if hook does not works then set isExecutable in application.xml file to true. but in my Bitbucket installation dir, there is no such file at BITBUCKET_HOME/logs/support