REST API to download Build Artifacts from Bamboo server

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Artifacts, REST API
    • None
    • 3
    • 13

      Problem Definition

      There is no REST API to download artifacts from the Bamboo server.

      Suggested Solution

      Implement an API endpoint to grab artifacts

      Workaround

      You can use wget to download this through the HTTP URL, with the path to the artifact encoded.
      For example:

      /artifact/<BUILD_KEY>/path/to/artifact
      %2Fartifact%2F<BUILD_KEY>%2Fpath%2Fto%2Fartifact

      With this, please run:

      wget "<bamboo-url>/userlogin.action?os_username=********&os_password=******&os_destination=%2Fartifact%2F<BUILD_KEY>%2Fpath%2Fto%2Fartifact" -O <artifact_local_name>

              Assignee:
              Unassigned
              Reporter:
              Ellie Z
              Votes:
              15 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: