Open venkat230580 opened 4 years ago
@venkat230580: Hello.
This is bug in Bitbucket (not in External Hooks add-on) and it was fixed in 6.6.0 with backport made to the following versions:
Since you're using Bitbucket 6.3.1 it seems that you need to upgrade Bitbucket installation to at least to 6.3.4 to get this fixed.
Related thread: https://github.com/reconquest/atlassian-external-hooks/issues/60#issuecomment-513204929
Related Bitbucket ticket: https://jira.atlassian.com/browse/BSERV-11869
Hello,
For BitBucket, we have an external pre-receive hook that calls a shell script to make sure the new commit pushed to BitBucket does not contain folders/files that are now in the standard folder/file list. This hook should invoke the shell script for all the push regardless which git client is used.
This hook has been working fine all along, but starting yesterday, this hook stopped working for some critical situation. Basically if people use git clone/push with desktops, the hook still works. However, we have a Jenkins server to:
For the Jenkins server, the push would run the external pre-receive hook, but the hook failed to invoke the shell script and the push get rejected. We even changed the shell script to do nothing (empty script with only an exit command), the hook still fails. The BitBucket log shows the following error:
This is a show-stopper issue that basically stopped all our build process with Jenkins. Please help.
BTW, here are some of the general info: BitBucket DataCenter version: 6.3.1 BitBucket server git version: 2.18.0 Jenkins server git version: 2.19.1-412
Thanks Venkat