We use TFS 2015 with GIT and Team Foundation Build 2015 as Build definition. The Sources are in C/C++. On the Build Server I'm facing a line ending problem.
On the developers PC (Microsoft Windows 7) the core.autocrlf=true is set. The line endings are always CRLF which is ok.
On the Build Server (Microsoft Server 2012 R2) the same core.autocrlf=true is set. If I get the sources on the Build Server on the command line (git version 2.7.2.windows.1) everything is ok and all source files has CRLF as line ending. But if the Build definition (e.g. for continuous integration) gets the sources, the line endings are always LF.
Question: Where can I set the core.autocrlf=true for the Build definition?