title: Webhook trigger for Jenkins job from multiple BitBucket repositories
body: <p>I have a use case where I want to trigger a specific Jenkins job from a BitBucket pull-request via a webhook.</p>
  
  <p>I have managed to get this working using the <a href="https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin" rel="nofollow noreferrer">Bitbucket Pull Request Builder Plugin</a>. However, this plugin only allows me to link one BitBucket repository to trigger my job, when I want to allow multiple repositories to trigger this job.</p>
  
  <p>After doing some digging, I discovered that I could use the <a href="https://wiki.jenkins.io/display/JENKINS/Multiple+SCMs+Plugin" rel="nofollow noreferrer">Multiple SCMs Plugin</a> to specify all of the repositories that I want to trigger the job. However, the <a href="https://wiki.jenkins.io/display/JENKINS/Multiple+SCMs+Plugin" rel="nofollow noreferrer">Multiple SCMs Plugin</a> does not expose what <code>GIT_COMMIT</code> from which repository triggered the job.</p>
  
  <p>Is there any way to either:</p>
  
  <ol>
  <li>Use the <a href="https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin" rel="nofollow noreferrer">Bitbucket Pull Request Builder Plugin</a> (or similar) to specify more than one repository to trigger from.</li>
  <li>Get the <a href="https://wiki.jenkins.io/display/JENKINS/Multiple+SCMs+Plugin" rel="nofollow noreferrer">Multiple SCMs Plugin</a> (or similar) to expose the <code>GIT_COMMIT</code> and repository that triggered the job?</li>
  </ol>
  
  <p>I am currently limited to running an older version of Jenkins 
  2.106, on Linux.</p>