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

need repositoryUrl build variable for BitBucket

    XMLWordPrintable

Details

    Description

      Problem:

      Unable to retrieve Bitbucket repository URL using Bamboo variables
      Documentation: Bamboo variables

      Duplication Steps:

      1. Create build plan
      2. Add Bitbucket repository to build plan
      3. Add ${bamboo_repository_git_repositoryUrl} to startup script
      4. Run build
        URL not returned

      Workaround:

      Use Bitbucket REST API:

      curl -u [username] -p -H GET https://api.bitbucket.org/2.0/repositories/[username]/[repo_slug]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            e6d4d8d41251 Ian Kent
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: