Configure git credentials for Windows agent

Hi, 

We have an agent on a Windows server machine. Recently we have migrated our repos to github. Due to corporate network limitations we cannot use ssh clone,  therefore we have a username and a https token to authenticate with a service user in github. 

VCS root is configured properly, TC server can connect to github, but when I run a build job it fails because github returns HTTP 403. 

Can you please help me how to configure authentication for the windows agent? 

0
1 comment

Hi,

The error makes it seem as though you're using a username and password to authenticate to GitHub. You should be able to use a Personal Access Token (PAT) as described here: https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk. 

0

Please sign in to leave a comment.