title: Using Git SHA commit ID as artifact version number when publishing to Artifactory in Jenkins
body: <p>We have a Gradle project in a Git repository that Jenkins monitors for commits.  When a new commit comes in it kicks off the build pipeline.  At the end of the pipeline it publishes the jar file to Artifactory.</p>
  
  <p>I want Jenkins to use the Git SHA commit ID has the artifact version number of the published jar.  I see that the Jenkins Git plugin saves the commit ID in an environment variable called GIT_COMMIT.  But how do I tell the Jenkins Artifactory plugin to use this value for the version number?</p>