0
votes

I have two organization in my Azure DevOps. I need to create a build pipeline in one organization using a git repository from another. For "Get Sources" I've created a connection for "Other Git" and specified my user name/password. Running the pipeline fails:

fatal: Authentication failed for 'https://:@abc.com/abc.Kernel/_git/ABC.Kernel/'

[warning]Git fetch failed with exit code 128, back off 2.662 seconds before retry. Is there any solution?

2

2 Answers

0
votes

When it comes the Azure DevOps there are several ways to manage git repositories. First make sure that you are using the source that will get you the result that you expect. Other Git is listed as a "generic" protocol (see supported-repository-types). I would recommend that you use a Service Connection that has read access to the other orgaization.

If you really want to use "Other Git", you will have to make sure you enable access to the repo from the organization's settings page. see change-application-access-policies

0
votes

I've created a security token and used it instead of the password. It worked.