Getting Project Version from Maven POM in Jenkins

You can use the ${POM_VERSION} variable, which was introduced with https://issues.jenkins-ci.org/browse/JENKINS-18272

Leave a Comment