Class ArtifactoryArtifactAction

java.lang.Object
io.jenkins.plugins.artifactory_artifacts.ArtifactoryArtifactAction
All Implemented Interfaces:
Action, ModelObject

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ArtifactoryArtifactAction extends Object implements Action
A small, per-build action exposing the Artifactory external URL of each file archived through ArtifactoryArtifactManager
  • Method Details

    • getIconFileName

      @CheckForNull public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      @CheckForNull public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      @CheckForNull public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • doReference

      @GET public void doReference(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter String path) throws IOException
      Return the Artifactory external URL of the archived file at the given path, as JSON, or a 404 if no such file was archived (or the caller lacks permission to see it).
      Throws:
      IOException