I am using Atlassian Stash v3.5.0, I have enabled the update serverside hook on Git, but unfortunately, this hook will not get executed when a pull request is merged.
The git stash we are using is of the third party and we do not have much control on it to install webhooks. Is there any way I can invoke the Jenkins job from git server using server-side hooks when pull request gets merged.
currently, I see the below hooks available on Git server.
update.sample
pre-rebase.sample
pre-push.sample
prepare-commit-msg.sample
pre-commit.sample
pre-applypatch.sample
post-update.sample
commit-msg.sample
applypatch-msg.sample
pre-receive.d
pre-receive
post-receive.d
post-receive
Thanks for your help