You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting: Mirror Git Repository to Gitlab OAB
==============================================================================
Task : Mirror Git Repository
Description : A straightforward utility to mirror one Git repository to another location
Version : 1.1.12
Author : Swellaby
Help : [More Information](https://github.com/swellaby/vsts-mirror-git-repository)
==============================================================================
/usr/local/bin/git -c http.sslVerify=true clone --mirror https://myPAT@server/repository.git
Clonage dans le dépôt nu 'repository.git'
fatal: could not read Password for 'https://myPAT@server/repository.git': terminal prompts disabled
##[error]Error: The process '/usr/local/bin/git' failed with exit code 128
Finishing: Mirror Git Repository to another repo
The text was updated successfully, but these errors were encountered:
Thanks, best we can tell, Microsoft silently dropped support for auth in the userinfo subcomponent on the URI in newer versions of Server which is most likely what you're running into there.
Environment Details
Pipeline
Agent OS
Mirror Task Configuration
Description
The clone is not working since the PAT is added in the repo url (https://myPAT@server/repository.git) and not as a Authorization header (-c http.extraHeader="Authorization: Basic $B64Pat"), like described in the documentation : https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page#use-a-pat
Log Output
The text was updated successfully, but these errors were encountered: