I want to execute a Python script each time a pull-request is merged. I am using Bitbucket and I saw that it has a web-hook option, where I can put an URL and it will call that URL.
Is there a way I can directly call the python script like
someurl.com/script.py
or will I need to build a "bridge" inbetween?
I also have Jenkins available as a tool, but how can I trigger a Jenkins job from the webhook?