retrieve current version number dynamically from Jenkins