title: Is there a variable set that can be accessed in gradle/maven for the snapshot uniqueVersion?
body: <p>I haven't seen a viable solution to this and any reference to it is several years old.</p>
  <p>When publishing a snapshot version a uniqueVersion is produced by the publish job in gradle/maven ex: 55.0.0-SNAPSHOT/55.0.0-20210701.223725-1.</p>
  <p>My question: is there a way to access this value 55.0.0-20210701.223725-1 so I can use it for github tagging with jenkins for when a publish job is run?</p>