Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo: Get Artifact File with Java API

Manu December 11, 2013

Hey guys,

I am writing an xwork plugin which needs to access Artifactories. The Action class extends ViewCheinResult and all works so far. Now I want to access the artifactory files. How do I get the absolute path to the file or the File itself?

Thanks in advance!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2014

Artifactory is a proprietary tool, do you just mean the artifacts from builds?

If so use the ArtifactLinkManager, https://docs.atlassian.com/atlassian-bamboo/latest/com/atlassian/bamboo/build/artifact/ArtifactLinkManager.html#getArtifactLinks(com.atlassian.bamboo.resultsummary.ResultsSummary, java.lang.String)

To get a list of ArtifactLinks, from which you can get the Artifact

TAGS
AUG Leaders

Atlassian Community Events