title: How to get the git tag name in Jenkins in Node configuration
body: <p>We re using node configuration in Jenkins.In the Post-build Actions we have Git Publisher which has tags to Push e.g 5.1.0.$BUILD_NUMBER.This now becomes the new build number and is used as the release number for testing</p>
  
  <p>I wanted to access this tag for all the remaining jobs so that I can create the Test report XMLs something  with 5.1.0.$BUILD_NUMBER+myjob.xml so that its related to that unique build number.</p>
  
  <p>However I am not sure how can I retrieve the Git tags in all the individual jobs.I am not too sure that I want to use Global  variable string property since its a node configuration where on one node/box there a different build and on other there is a different one.The Global property could overwrite the build versions on each other ?</p>