title: How can I use Jenkins in MS VSTS to build Pull Requests?
body: <p>I tried to connect my Jenkins server to VSTS repo by following this Link.</p>
  
  <p><a href="https://blogs.msdn.microsoft.com/devops/2017/04/25/vsts-visual-studio-team-services-integration-with-jenkins/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/devops/2017/04/25/vsts-visual-studio-team-services-integration-with-jenkins/</a></p>
  
  <p><a href="https://i.stack.imgur.com/jnHWC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jnHWC.png" alt="enter image description here"></a></p>
  
  <p>However, the options are different from the tutorial.
  There is no way to set a rule for Pull Request, which is what I am trying to do.</p>
  
  <p>I set a new build definition to make the Jenkins build work on every commit, but doesn't work for Pull Request.</p>
  
  <p><a href="https://i.stack.imgur.com/7RvBB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7RvBB.png" alt="enter image description here"></a></p>