title: Jenkins: how to trigger pipeline on git tag
body: <p>We want to use Jenkins to generate releases/deployments on specific project milestones. Is it possible to trigger a Jenkins Pipeline (defined in a Jenkinsfile or Groovy script) when a tag is pushed to a Git repository?</p>
  
  <p>We host a private Gitlab server, so Github solutions are not applicable to our case.</p>