<https://wiki.jenkins.io/pages/viewpage.action?pageId=99910084>

I can upload and download, but I just want to query and get a list of artifactory builds for a repo.

I want to get a list of all builds for a given repo to present it to the user so they can choose a previous build to deploy. 

All I need is a list of the builds. I can do this with a rest call but I already have credentials and the server URL configured for the Jenkins plugin. would be nice to use the plugin.

How do i do this with the plugin (without having to do my own rest calls)?