title: How to specify a tag and branch on jenkins
body: <p>I need to retrieve project from bitbucket, which is relevant to specific tag and only specific branch in bitbucket by running the jenkins job I have setup. 
  I have several branches in bitbucket. please see the below configuration. </p>
  
  <p><a href="https://i.stack.imgur.com/b1CS2.png" rel="nofollow noreferrer">first pic</a>
  <a href="https://i.stack.imgur.com/2qwOI.png" rel="nofollow noreferrer">/second pic</a></p>
  
  <p>I have pass tag name as parameter to the jenkins job and that can give me project, relevant to that tag. But if I need code only from master branch. how do I lock down other branches or specify master branch here. At this movement it is giving code from any branch relevant to the tag.</p>