tfs2017

TFS Build Agent failing to connect to HTTPS git in TFS 2017 when running as service

纵然是瞬间 提交于 2019-12-03 13:44:30
We are using an internal certificate on our server and I've followed the steps in https://blogs.msdn.microsoft.com/tfssetup/2016/12/19/error-ssl-certificate-problem-unable-to-get-local-issuer-certificate/ as well as the steps here: https://blogs.msdn.microsoft.com/phkelley/2014/01/20/adding-a-corporate-or-self-signed-certificate-authority-to-git-exes-store/ Error when running as a service: git version git config --get remote.origin.url git config gc.auto 0 git config --get-all http.https://ourtfsserver:8443/tfs/path/_git/project.extraheader git config --get-all http.proxy git -c http

TFS2017.2 NuGet restore task - ETIMEDOUT 93.184.221.200:443

旧城冷巷雨未停 提交于 2019-12-03 12:57:01
I have couple of build definitions that are using the "old" NuGet Installer task to restore the dependencies from our internal TFS feed (same collection); the feed url is specified through the NuGet source parameter: The restore process is working fine as below: Switching to the newer version of the task is causing the build failure: How can I disable the connection attempt to 93.184.221.200:443 due to the fact that the build agent doesn't have internet access? I'm using TFS 15.117.26714.0. Update 1 I copied nuget.exe to c:\nuget folder then added the folder to the PATH environment variable.

Force removal of TFS 2017 build agent

坚强是说给别人听的谎言 提交于 2019-12-03 06:37:29
Installed the tfs 2017 (update 1) build agent on a machine and ran config.cmd to connect it to a TFS server. That server had to be reconfigured and the original url that the build agent was pointing to is no longer valid. All I want to do is reconfigure the build agent to connect using the new url. When I run config.cmd again, it says that I must first call 'config.cmd remove' but when I run that, it fails because it is trying to reach out to the original url to remove itself from the agent pool. How can I force it to uninstall so that I can configure a new one? I have even deleted the whole

Visual Studio 2017 Cannot Move Shelveset to Another Branch

核能气质少年 提交于 2019-12-03 05:53:58
Since they have supposedly integrated most of the Power Tools functionality into VS2017, the new command "tf unshelve" does not work the same as the old command "tfpt unshelve" to move shelvesets to another branch, as you cannot add a source and a target using the new command. I really don't want to have to install VS2015 on my laptop just to move a shelveset. Does anyone know how to do this with VS2017? I'm having a hard time believing this is no longer possible. Any assistance is greatly appreciated! Another WORKAROUND... Check in the changes from existing shelveset (Changeset 1) Merge the

TFS: Work item type is not allowed to be added as a link

六眼飞鱼酱① 提交于 2019-12-02 11:24:34
I just finish to generate my custom WIT (work item type= CRM Case), I add the relative information in the categories s child of RequirementCategory: <?xml version="1.0" encoding="utf-8"?> <cat:CATEGORIES xmlns:cat="http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/categories"> <CATEGORY refname="Microsoft.FeatureCategory" name="Feature Category"> <DEFAULTWORKITEMTYPE name="Feature" /> </CATEGORY> <CATEGORY refname="Microsoft.RequirementCategory" name="Requirement Category"> <DEFAULTWORKITEMTYPE name="User Story" /> <WORKITEMTYPE name="CRM Case" /> </CATEGORY> <CATEGORY refname=

What TFS 2017 build task applies web.config transforms during TFS builds?

ぃ、小莉子 提交于 2019-12-02 09:31:46
问题 Some original info was changed to make the post more focused on the real issue after it was found. These are some of the details of the current environment. I listed these only because questions were raised in other posts to determine what was and was not working in the current environment: Upon check-in TFS 2017 successfully builds a web project on the build agent. A VS 2017 publish profile can manually transform the project properly The build machine artifact location includes both the

Changing the outcome field of testcases within a test suite in Tfs

余生长醉 提交于 2019-12-02 08:08:39
Given a Test Suite id, is it possible to change the outcome of the test cases within it in Tfs ? For instance , changing the active state to pass state or to failed state. While iterating through the test cases with a test suite, i couldnt find a field by the name outcome. How can we modify the outcome field? Seems you want to update the test result. You need to get the test run ID first. You can use the REST API to update the specific test result. Please see Update test results for a test run for details. PATCH https://{instance}/DefaultCollection/{project}/_apis/test/runs/{run}/results?api

What TFS 2017 build task applies web.config transforms during TFS builds?

孤街浪徒 提交于 2019-12-02 04:06:12
Some original info was changed to make the post more focused on the real issue after it was found. These are some of the details of the current environment. I listed these only because questions were raised in other posts to determine what was and was not working in the current environment: Upon check-in TFS 2017 successfully builds a web project on the build agent. A VS 2017 publish profile can manually transform the project properly The build machine artifact location includes both the transform and profile files The artifact location is shown below: I have researched this in depth on

How to delete a Team Project Collection in TFS 2017

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 00:09:13
I have a Team Project Collection in TFS 2017 that is unused. It was created back, when TFS was new in our Company as a test. So there has never been real Code Checked in or anything. So I want to just delete. I couldn’t find out, how this works. To delete a collection: Detach the collection, Delete the collection database Delete the SharePoint site collection that supported the deleted collection. Please see Detach or delete a team project collection for details, it's also applied to TFS 2017. This is a high-level administrative task that can only be performed by logging into the Application

TFS 2017 : Clone/Copy a Collection on the Same TFS Server

十年热恋 提交于 2019-12-01 13:55:58
I would like to create a clone/copy of our production Collection on the same TFS Server to use as a sandbox/dev environment. Restoring a backup of the Collection and renaming it is easy enough, but I know there will be GUID conflicts (and probably other conflicts as well) when I try to attach the Collection. Is there anyway around this? Or do I just need to procure a new server with a separate TFS instance? Thanks in advance! General answer is NO. But it is possible if not both collection are online/attach at the same time. In the 2nd case do the following steps: detach collection in TFS Admin