tfs2017

git clone from Linux to TFS git repo

谁说我不能喝 提交于 2019-12-09 01:38:05
问题 I've been trying to solve an issue with Git repo that is hosted on an on-prem TFS2017, cannot do a "git clone" command from a linux machine which is not in the domain, keep getting "fatal: Authentication failed for" . The user i am using is a local user on the Linux machine (same name as domain user, same password) the user is granted user in the Git repo While working same drill from a domain joined Windows machine, everything works fine (i use Git Bash). Ive created ssh key on the Linux and

Timout on SonarQube Analysis on TFS2017

泄露秘密 提交于 2019-12-08 07:14:30
问题 Our setup is a SonarQube server 5.6.5 LTS and a TFS2017 on-premise server. I'm running Code analysis on a big solution which takes about 15 minutes to build and about the same time to complete the analysis build step. On "Complete SonarQube analysis" build step I get the following error: 2017-01-31T08:52:44.8355200Z 09:52:44.741 Post-processing succeeded. 2017-01-31T08:52:46.9293440Z Waiting on the SonarQube server to finish processing in order to determine the quality gate status. 2017-01

TFS 2017 build as code

自作多情 提交于 2019-12-07 16:28:56
问题 How I can configure the build tasks in 2017 within "build" and "release" as code? I am searching for something like the Jenkinsfiles for the Jenkins Pipelines. Use case is: I need to validate params and then decide which tasks I call in which order etc. based on globally passed parameters Don't have the only source of changes in a web UI Have the configuration in source control Is there may be a possibility or a Plugin available doing this? 回答1: There's no out of the box way. There are

TFS 2017 doesn't build Fakes targets

筅森魡賤 提交于 2019-12-07 14:21:08
问题 I have a TFS 2017 Update 2 on-prem server with VS 2017 Enterprise installed. Our Build contains a Unit-Testing project which contains a Fakes assembly and works locally on the dev machines. When build on TFS, the build fails with The type or namespace name 'Fakes' does not exist in the namespace 'Our.Product' (are you missing an assembly reference?) (i.e. misses/fails to generate the Our.Product.Assembly.Fakes.dll file) I have additionally set up Fakes as suggested here. What baffles me is

TFS 2017 test task run fails on VS 2017 build machine if code coverage is enabled

非 Y 不嫁゛ 提交于 2019-12-07 10:24:51
问题 We're executing a number of tests on a build machine with VS 2017 Enterprise where we've enabled code coverage on the Visual Studio test task. This fails with the following error in the TFS 2017 console: ##[section]Starting: Test Assemblies **\*test*.dll Preparing task execution handler. Executing the powershell script: d:\builds\4\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\1.0.60\VSTest.ps1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions

TFS 2017 How to query Work Items using SQL

流过昼夜 提交于 2019-12-06 05:54:07
问题 I'm searching for a way to query work items directly from the SQL database of TFS using SQL selects. For TFS 2010, there were some database views you could use to achieve this goal. TFS2010: How to query Work Items using SQL on the Relational Warehouse The example from the WIQ looks like this: SELECT [System.Id], [System.WorkItemType], [System.Title], [System.AssignedTo], [System.State] FROM WorkItems WHERE [System.TeamProject] = @project and [System.WorkItemType] = 'Ticket' and [System.State

TFS 2017 - Build Server does not build Visual Studio 2017

好久不见. 提交于 2019-12-06 04:04:43
After upgrade of Visual Studio 2017 last week on my build server, the MS Build 15.0 is not in use anymore. So whenever I try to compile visual studio 2017 projects which use new feature they will fail. The Warning in build log is: Visual Studio version '15.0' not found. Looking for the latest version. And the error is: something.cs(542,41): Error CS1525: Invalid expression term 'int' Which is because build server is using MS build 14.0 I guess. So far I have 1- Uninstall and Reinstalled the Visual Studio 2017 on the build server. 2- Installed "Visual Studio Build Tools 2017". And nothing works

TFS 2017 doesn't build Fakes targets

て烟熏妆下的殇ゞ 提交于 2019-12-06 02:31:15
I have a TFS 2017 Update 2 on-prem server with VS 2017 Enterprise installed. Our Build contains a Unit-Testing project which contains a Fakes assembly and works locally on the dev machines. When build on TFS, the build fails with The type or namespace name 'Fakes' does not exist in the namespace 'Our.Product' (are you missing an assembly reference?) (i.e. misses/fails to generate the Our.Product.Assembly.Fakes.dll file) I have additionally set up Fakes as suggested here . What baffles me is that there are no mentions of Fakes in the build log (except for the error itself and the paths where

LFS: Git credentials for..XXXX..not found. Your user name must be of the form DOMAIN\\user

谁说胖子不能爱 提交于 2019-12-05 19:13:11
So we are trying to setup GIT LFS with on premises TFS and we are having a couple of errors. The errors and setup are described below: Setup: 1) On-premises TFS 2017 w/Update 1 2) Visual Studio 2015 w/Update 3 3) Atlassian SourceTree (Git Client) 4) GIT LFS is installed on the developer's system 5) The Git Credential Manager for Windows (GCM) Errors: Going to Tools->Options->[Git Tab] in SourceTree and selecting [Use System Git] and trying to checkout a version of the file from history results in the following error: git-lfs/2.0.1 (GitHub; windows amd64; go 1.8; git 678cdbd4) git version 2.12

Code Coverage in .Net Core 2.0

做~自己de王妃 提交于 2019-12-05 18:55:19
问题 How can I generate code coverage in .Net Core 2.0? I tried the following: "TestPlatform\vstest.console.exe" --collect:"Code Coverage" But I got this error message: Data collector 'Code Coverage' message: Cannot find CodeCoverage.exe. I tried dotCover latest version 2017.2 which I am able to get the coverage on the local machine, but when the same is run in the TFS Build no coverage information is generated. I am not sure when NetCore Test task in TFS will get support for code coverage. How