title: How to trigger build on one repo by listening to change on another repo
body: <p>I have two repos in distinct organizations, repo A and repo B. I have a Github webhook on repo A that is triggered during push events on the repo, and I have a Jenkins job that has a "Github hook trigger for GITScm polling" as a build trigger. </p>
  
  <p>I am looking to trigger the Jenkins build when there is a change to repo A, and I want the job to build from repo B. </p>
  
  <p>I can successfully build from repo A by setting Github project and Source Code Management portions of the Jenkins job to point to repo A. I was hoping that pointing the Github project to repo A and Source Code Management to repo B would do what I wish, but when I do this the build job is never triggered. Is what I'm looking to do possible?</p>
  
  <p>Also, how can I see which branch was pushed to and triggered the job from within my Jenkins jobs?</p>
  
  <p>Thanks</p>