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

Issue #13797 closed
Frédéric Nowak
created an issue

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.

Comments (1)

  1. Log in to comment