title: How do I tag the current git changeset from inside the Jenkinsfile?
body: <p>I want to tag the current git changeset and push the tag from inside the Jenkinsfile. If the tag already exists it must be replaced.</p>
  
  <p>I want to use this logic in order to tag the build that passed with the <code>snapshot</code> tag, which would be a mobile tag.</p>
  
  <p>How can I do this?</p>