Check this if you want to use the bitbucket post commit external hook to call.