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

Release plugin doesn't replace Bamboo variables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2
    • Labels:
      None
    • Environment:

      Linux, Bamboo 5.0.1

      Description

      When attempting to use the Release portion of the Bamboo plugin we discovered that it doesn't support Global variables. We have our repositories configured with variables that don't get replaced and thus we get an access denied.

      simple	15-Oct-2013 08:21:05	[RELEASE] Pushing branch: release/1.0.0 to url: http://${bamboo.stash.domain}/scm/commons/framework.git
      error	15-Oct-2013 08:21:05	[RELEASE] An error 'http://${bamboo.stash.domain}/scm/commons/framework.git: cannot open git-receive-pack' occurred while pushing branch: release/1.0.0 to url: http://${bamboo.stash.domain}/scm/commons/framework.git
      simple	15-Oct-2013 08:21:05	[RELEASE] Checking out branch: master
      simple	15-Oct-2013 08:21:05	[RELEASE] Deleting local branch: release/1.0.0
      simple	15-Oct-2013 08:21:05	[RELEASE] Deleting local tag: 1.0.0
      simple	15-Oct-2013 08:21:05	[RELEASE] Reverting local copy to: de1523f8aa4331e387ecc1703b31548c96c0e7d0
      error	15-Oct-2013 08:21:05	Failed to execute plugin 'Artifactory Release Management Staging' with error: java.io.IOException: An error 'http://${bamboo.stash.domain}/scm/commons/framework.git: cannot open git-receive-pack' occurred while pushing branch: release/1.0.0 to url: http://${bamboo.stash.domain}/scm/commons/framework.git
      

      To fix this I had to switch out all the variables with the hard coded values for it to work.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            daniel.hopper@adp.com Daniel Hopper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: