I have a Git repo hosted on a Gitlab on-premise server and I need to set up CI using TFS build. I Managed to set up a manual TFS build which successfully pulls the sources from my Git repo. I've add a CI trigger in my TFS build definition and the build actually triggers for each commit, but fails with the following error:
An exception occurred while polling the repository. Error: Microsoft.TeamFoundation.Build2.Server.Extensions.ExternalConnectorException: Basic authentication requires a secure connection to the server
Any ideas?