Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-219

Artifactory URL containing global variables can cause build failures

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.4
    • Labels:
      None

      Description

      Configuring an Artifactory URL in Bamboo that contain Bamboo global variables, (for example:
      http://${bamboo.artifactoryHostName}:8080/artifactory)
      can cause build failures.

      1. Log sample from a Gradle build log:

      build 31-Jul-2014 12:07:04
      build 31-Jul-2014 12:07:04 BUILD FAILED
      build 31-Jul-2014 12:07:04
      build 31-Jul-2014 12:07:04 Total time: 10.865 secs
      error 31-Jul-2014 12:07:04 Could not resolve all dependencies for configuration ':api:compile'.
      error 31-Jul-2014 12:07:04 > java.net.URISyntaxException: Illegal character in authority at index 7: http://${bamboo.artifactoryHostName}:8080/artifactory/repo
      error 31-Jul-2014 12:07:04

      2. Other build types may will fail as well. You'll notice that in the buildInfo properties file, the Artifactory server URL is not substituted with the global variables value.

        Attachments

          Activity

            People

            • Assignee:
              eyalbe Eyal Ben Moshe (Inactive)
              Reporter:
              eyalbe Eyal Ben Moshe (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: