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

Integrate Artifact Deployer with Jenkins REST API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 1.532.3
      Artifact Deployer Plugin 0.29
      Windows 7 x64 OS

      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.

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

              Created:
              Updated: