title: How we can trigger jenkins job which takes source code from one repository, whenever a developer push changes to their beanstalk-git repository?
body: <p>I want to run(trigger) my jenkins job whenever a push happens to developer repository.</p>
  
  <p>Firstly, </p>
  
  <ol>
  <li>i'm storing all my automation scripts in my personal GitHub.</li>
  <li>All of my developer's code is another GitHub, i.e in beanstalk which is top of GitHub</li>
  </ol>
  
  <p>Now whenever dev's pushes their changes to their repository, then i want trigger my jenkins job which takes source code from my personal GitHub.</p>
  
  <p>So, after some research on it, i came to know <strong>Webhooks</strong> will help in this.</p>
  
  <p>Bu in my case as per their are two separate repositories, i couldn't able to get what exactly i have to do.</p>
  
  <p>Any solution appreciated.</p>