Querying Artifactory repo for latest artifact


This is a quick write up I thought I’d do after hunting around for a simple solution (or what I thought should be a simple solution). I’ll post the code first and the story second.

This little blurb hopefully will help others. The main idea was to query artifactory’s API get the latest artifact (uniquely versioned) and parse the json into a usable URI.