Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13797

Expose the ${REPOSITORY_OAUTH_ACCESS_TOKEN} or provide a read only access to the current repo

    XMLWordPrintable

Details

    • 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

      I want to run 'git fetch --tags' in my pipelines but I got the following message :remote:

      Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://x-token-auth:

      {access_token}

      @bitbucket.org/<organization>/<repo_slug>/'

      So I try 'git fetch --tags https://x-token-auth:${REPOSITORY_OAUTH_ACCESS_TOKEN} @bitbucket.org/<organization>/<repo_slug>/

      But the var is no exposed for security reasons I assume.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dab4f7396f4d fnowaksporta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: