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

REST returned artifact url incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.4 M0, 3.4
    • 3.3.2
    • REST API
    • OSX 10.7.2

    Description

      The build log url is ok, but the readme url contains an extra slash. Removing the %2F from the url works. Configured base url is http://imac.local:8307

      Request
      http://imac.local:8307/rest/api/latest/result/XXX-DEF-JOB1/latest?os_authType=basic&expand=artifact
      
      result
      <artifacts size="2" max-result="2" start-index="0">
      <artifact>
      <name>Build log</name>
      <link rel="self" href="http://imac.local:8307/download/XXX-DEF-JOB1/build_logs/XXX-DEF-JOB1-16.log"/>
      <producerJobKey>XXX-DEF-JOB1-16</producerJobKey>
      <shared>false</shared>
      </artifact>
      <artifact>
      <name>readme</name>
      <link rel="self" href="http://imac.local:8307/%2Fbrowse%2FXXX-DEF-16%2Fartifact%2FJOB1%2Freadme%2FREADME.txt"/>
      <producerJobKey>XXX-DEF-JOB1-16</producerJobKey>
      <shared>false</shared>
      <size>1506</size>
      <prettySizeDescription>1 KB</prettySizeDescription>
      </artifact>
      </artifacts>
      

      Attachments

        Activity

          People

            mgardias Marcin Gardias
            bob.swift@charter.net Bob Swift OSS (Bob Swift Atlassian Apps)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: