title: Trigger Jenkins build for each commit on develop branch
body: <p>I build a freestyle jenkins pipeline that executes sonarqube scanner on develop branch and sends slack notification after the build finishes with the results, when I build the pipeline manually it works as expected.</p>
  <p>I used Bitbucket Plugin to trigger the build after each commit, but it's only working after I changed the pipeline to track the master branch instead, and the pipeline is not triggered on develop automatically. I don't know where's the problem exactly.</p>
  <p>I'm using ssh access key to connect to my private bitbucket repository, and my webhook is returning 200, thanks for your help.</p>
  <p><strong>Source Code Management</strong>
  <a href="https://i.stack.imgur.com/41UsE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/41UsE.png" alt="Source Code Management" /></a></p>
  <p><strong>Build</strong>
  <a href="https://i.stack.imgur.com/VqzQ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VqzQ7.png" alt="Build" /></a></p>
  <p><strong>Build Triggers</strong>
  <a href="https://i.stack.imgur.com/mnXtQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mnXtQ.png" alt="Build Triggers" /></a></p>
  <p><strong>Bitbucket WebHook</strong>
  <a href="https://i.stack.imgur.com/ZNV2X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZNV2X.png" alt="Bitbucket WebHook 1" /></a>
  <a href="https://i.stack.imgur.com/bFY2A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bFY2A.png" alt="Bitbucket WebHook 2" /></a></p>