Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18447

REST API to download Build Artifacts from Bamboo server

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Artifacts, REST API
    • None
    • 6
    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            ezeidan Elias Zeidan (they/them)
            Votes:
            13 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: