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!
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.