Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26108

Integrate Artifact Deployer with Jenkins REST API

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins 1.532.3
      Artifact Deployer Plugin 0.29
      Windows 7 x64 OS
    • Similar Issues:

      Description

      It appears there is no easy way to extract information about the deployed artifacts managed by the artifact deployer plugin using the Jenkins REST API. This prevents users from loading / downloading build artifacts from a remote scripting environment.

      For example, when using the Jenkins built-in artifact manager you can simply load the REST API data for a particular build and look at the 'artifacts' property defined therein to get a list of deployed artifacts, which in turn are directly accessible using a sub-URL of the form: artifact/

      {artifact_name}

      . However, for some reason these properties are empty when using the artifact deployer plugin and there doesn't appear to be any other way to enumerate and download these artifacts.

      If I am mistaken and there is some way of (a) retrieving a list of the artifacts deployed by a particular build and (b) to programatically download one or more (or all) of these artifacts via the REST API, please let me know.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              leedega Kevin Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: