We started a new project and we're using Bitbucket (online) to manage de code and to have an CI/CD pipeline we're going to use Jenkins (local server). There are other projects hosted in a local Mercurial server that are using Jenkins.
The question is: How to setup our Jenkins in local server (not visible in the cloud) to integrate with Bitbuck to trigger new builds after an approved Pull Request?