tfs-2015

Team Foundation Server 2015 vs. Bitbucket Server (Stash)

扶醉桌前 提交于 2019-12-12 18:29:58
问题 I am trying to compare two solutions. TFS Server 2015 and Bitbucket Server. I assume, that I will host GIT repositories and for project management I have other tools. What is the advantage in using TFS comparing to Atlassian solutions? Is there a place where I can find list of functionalties, implemented or scheduled in both tools development? And is this post actual: http://blogs.msdn.com/b/visualstudioalm/archive/2015/08/27/git-experience-futures.aspx?CommentPosted=true&PageIndex=3#comments

Obtain TFS GIT Commit Details From TFS Work Item Artifact Link

谁说我不能喝 提交于 2019-12-12 18:08:51
问题 Is it possible to leverage TFS or TS REST api to obtain details for a GIT commit by leveraging the work item commit "ArtifiactLink" url? 回答1: So you want to get detail commit information based on a work item artifacts link (while the artifact link type contains commit). You can achieve that with two REST API, detail steps as below: 1. Get the work item with full expanded GET https://{instance}/DefaultCollection/_apis/wit/workitems/{id}?api-version1.0&$expand=all For TFS2015, the format looks

Where is $(System.DefaultWorkingDirectory) set for builds in TFS2015?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 13:08:15
问题 I'm trying to modify the value of this variable as it currently points to the source folder of whatever build gets run on the agent instead of the root of the build. Does anyone know where I can modify this variable? I've looked at the agent's configuration .json file but didn't find anything relevant. 回答1: You can define $(System.DefaultWorkingDirectory) in Variables tab in Build Definition. I just had a quick test, if I define a new value to $(System.DefaultWorkingDirectory) , the output in

Robocopy in TFS Build PowerShell Step Reports Failure But Has No Error

寵の児 提交于 2019-12-12 11:02:03
问题 My powershell script runs without error reported in the log file, but the TFS 2015 build step reports an error. Do I need to perform a special call back? This is a new style build, not a XAML based one. The script is nothing special, it calls robocopy, which occurs successfully. Here's the script: [CmdletBinding()] param ( [string]$localWorkspace, [string]$destination ) begin{} process { try { ## Script $ServiceDirs = Get-ChildItem $localWorkspace -Recurse | ?{ $_.PSIsContainer -eq $True -and

How to retrieve a Test Case ID that is currently running through TFS (vNext) build?

。_饼干妹妹 提交于 2019-12-12 04:32:07
问题 In TFS 2013 when running tests from MTM, we were able to get the ID of the currently running test case by using the TestContext Properties dictionary as follows: var testCaseID = TestContext.Properties["__Tfs_TestCaseId__"].ToString(); This statement returns NULL if tests are being run as part of TFS vNext build (BDT). In order to update some fields in test results for instance Comments/Notes, I will need to know the ID of the current test run and test case. How can I return that information?

Release Management TFS 2015 - No Parallel Tasks

一个人想着一个人 提交于 2019-12-12 04:25:12
问题 I'm currently in the process of migrating from full fat on site Release Management to the web based version in TFS 2015. One thing I've noticed is that in the old client you can create a deployment sequence and configure actions to run in parallel, for example I might have these two steps running at the same time: SQLServer - DeployDatabase.ps1 AppServer - DeployWebApp.ps1 In the web based version it appears the equivalent of 'Actions' (now being referred to as 'Tasks') can only be set

TFS2015: gated check-in build locking files

£可爱£侵袭症+ 提交于 2019-12-12 04:21:13
问题 I'm trying to setup a gated check-in build (vNext) on a TFS2015.3 server. After I check-in a modification the build is triggered. The build runs smooth but the modified files are remaining locked by Project Collection Build Service (TEAM FOUNDATION). From the build logs I can see that the "Check in gated changes" step is performed correctly. If the team project source control has the multiple check-out option disable I'm not able to modify the locked files unless I unlock them or we queue the

How to export backlog items from scrum to agile template in TFS 2015

老子叫甜甜 提交于 2019-12-12 04:14:21
问题 I need a clarification on how to export backlog items from scrum process to agile process in TFS 2015. The hierarchy is Epic --> feature --> task --> bug...... based on these backlog items need to be export from scrum and import to agile process template. 回答1: You can use Excel to export and import the work items between Scrum and Agile. Please follow below steps to do that: Create a Tree of work items query for the work items you want to export in Scrum project . Open the query in Visual

TFS 2015 Gated check-in failed due to missing mapping

对着背影说爱祢 提交于 2019-12-12 03:47:25
问题 Our code sits in one TFS project, and we have multiple other projects that contain data: $/ - $/Code - $/Data1 - $/Data2 We have defined a gated check-in build to run on each check-in to $/Code. We don't care about each individual project's data for that matter, since we only want to build the shared $/Code project. The problem is that when a user checks-in a code change together with data change, i.e. alters both $/Code and $/Data1, the build fails because we don't have mapping for $/Data1

TFS 2015 machine groups cannot be selected in build/deployment definition (vnext) after creation

不羁岁月 提交于 2019-12-12 02:54:11
问题 We have a problem with a TFS 2015 installation, an upgrade from 2010. We ran into the following issue. This concerns a dry run, so we install everything on the same server, which is not a prefered method, we know. • Installed new virtual server with Windows Server 2012 R2 • Added IIS feature • Installed SQL server 2014 • Installed sharepoint foundation 2013 on the server • Installed visual studio 2015 on the server • Installed all the necessary .NET target frameworks • Installed the