Creating an Option drop down from a list of artifacts in Artifactory

268 views
Skip to first unread message

Russ

unread,
Mar 14, 2014, 7:04:27 AM3/14/14
to rundeck...@googlegroups.com
Hi,

I'm just wondering if someone has had experience, or know how, to create an option drop down from a list of artifacts in Artifactory?

I've been trying to figure this out, but haven't had any success yet.

Thanks heap,
Russ

Levent Tutar

unread,
Mar 15, 2014, 2:37:02 PM3/15/14
to rundeck...@googlegroups.com
Hi Russ,

Can you provide some example list?

Russ

unread,
Mar 16, 2014, 10:02:31 PM3/16/14
to rundeck...@googlegroups.com
Hi Levent,

The exact list, is where I'm not certain.

An example of a public artifactory, showing a component with multiple versions is

And a query that I have come up with so far, for showing the list of components in a json response is
(Using this url as a remote url for a Rundeck option only shows 'results' as the only option, not the sub elements list of urls)

But the exact query that I need to pass to Artifactory for Rundeck to recognise the list of component versions as an option field, is where I was hoping that someone with experience with both Rundeck and Artifactory might be able to help.

My intention was to use Rundeck to deploy current and previous versions of applications/components to different servers. For example, the current versions would always be deployed to the development servers, but previous versions would be deployed to qa/uat/prod, after acceptance testing had been completed for that particular release.

Having a list of all versions, so that any version can be deployed to any server, is what I was aiming for.

Thanks for your help.

Cheers,
Russ

Andy Bohne

unread,
Mar 17, 2014, 11:51:02 AM3/17/14
to rundeck...@googlegroups.com
I'm looking to do this in our environment as well.  I don't think it's going to be as straightforward as jenkins integration is (since I believe you need artifactory pro to implement a plugin).  I'm thinking about maybe writing a script that massages data from  this REST call http://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FolderInfo into a list rundeck can use as an options list.

If anyone has a better suggestion, I'm all ears.
Reply all
Reply to author
Forward
0 new messages