title: How to trigger Jenkins jobs with new tag, but not commits and vice versa?
body: <p>Scenario:
  Job 1 should be triggered on every new commit to github repository.</p>
  
  <p>Job 2 should be triggered only when adding a tag to that same github repository.</p>
  
  <p>If I configure the Github Plugin to use webhooks, it seems that if I try to set 'Branches to build' to anything permissive (**/* or refs/heads/*), it will build any push to github - which includes adding and removing tags.</p>
  
  <p>Additionally, I can't seem to find a way to ignore all commits, and ONLY build tags.</p>
  
  <p>I'm using Jenkins 2.32.3, Git Plugin 3.1.0, and Github Plugin 1.26.1</p>