title: Create git tag from within Jenkins pipeline script
body: <p>Within my Jenkins pipeline script, I would like to do something like this:</p>
  
  <pre><code>sh("git tag ${BUILD_NUMBER}")
  </code></pre>
  
  <p>However, this wouldn't work if git isn't found on the shell.</p>
  
  <p>Is there any Jenkins plugin that can do this from a Jenkins pipeline script?</p>