0

Latest Cruise Control build support "tfs" and "git" types in its section. Which one to use for getting source from "git" repository located at TeamFoundationService?

What whould section configururation would look like?

Yaugen Vlasau
  • 2,148
  • 1
  • 17
  • 38
  • 1
    You must use the Git section. Have you tried setting the credentials in the repository uri? Like described here: http://stackoverflow.com/questions/10054318/how-to-provide-username-and-password-when-run-git-clone-gitremote-git – jessehouwing Nov 04 '14 at 16:48
  • works! have also found the following... If your repository is hosted on Visual Studio Online, you must enable basic authentication before you can use the command prompt to perform Git tasks. You can set this up from your User Profile in TFS. see here: http://msdn.microsoft.com/en-us/library/dd286572.aspx – Yaugen Vlasau Nov 05 '14 at 13:25

1 Answers1

2

When you're connecting to a Git repository, you should use the Git option in CruiseControl .NET. The TFS option is only used when connecting to .

You can specify a password in the Git Repository URL as described in this other question.

And remember to turn on Basic Authentication for your VSO account. which is described here.

Community
  • 1
  • 1
jessehouwing
  • 106,458
  • 22
  • 256
  • 341