Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Currently, when using bitbucket cloud-hosted runners you can push back to the repository using the $BITBUCKET_GIT_HTTP_ORIGIN variable without the need to manually set the credentials for authentication, as it will be redirected to the authentication proxy.
However, when using Windows runners this is not possible and the user needs to manually set the credentials for authentication like below :
git remote set-url origin "https://$($Env:BB_USERNAME):$($Env:BB_APP_PASSWORD)@bitbucket.org/$Env:BITBUCKET_WORKSPACE/$Env:BITBUCKET_REPO_SLUG.git"
It would be great if Windows runners had to ability to push back to the repository using the baked-in credentials instead of having to manually provide the authentication credentials.