tfsbuild

TFS Build Test Results

自古美人都是妖i 提交于 2019-12-30 07:55:47
问题 We're working on Visual Studio 2010 and TFS 2010. We have our own BuildTemplate that is a copy of default template, but with some additions like (create Directory...), but the main point, that all that is in DefaultTemplate - is left. We have witten "unit" tests that also are working. I have made Build definition that runs all the unit tests. Have read the information here - http://geekswithblogs.net/jakob/archive/2009/06/03/tfs-team-build-2010-running-unit-tests.aspx and a lot of other

TFS Build Test Results

ε祈祈猫儿з 提交于 2019-12-30 07:55:18
问题 We're working on Visual Studio 2010 and TFS 2010. We have our own BuildTemplate that is a copy of default template, but with some additions like (create Directory...), but the main point, that all that is in DefaultTemplate - is left. We have witten "unit" tests that also are working. I have made Build definition that runs all the unit tests. Have read the information here - http://geekswithblogs.net/jakob/archive/2009/06/03/tfs-team-build-2010-running-unit-tests.aspx and a lot of other

Can I use Grunt with TFS?

谁都会走 提交于 2019-12-29 15:03:20
问题 My new project needs me to work with TFS + Git. Confession: I know nothing about TFS. I want to setup a build for my JavaScript project. I want to use Grunt. Is this possible? Has anybody used Grunt with TFS? 回答1: On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the Pre- or Post-BuildEvents section of your project file. However, because TFS will execute your builds with specific environment variables, you

Can I use Grunt with TFS?

梦想与她 提交于 2019-12-29 15:03:12
问题 My new project needs me to work with TFS + Git. Confession: I know nothing about TFS. I want to setup a build for my JavaScript project. I want to use Grunt. Is this possible? Has anybody used Grunt with TFS? 回答1: On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the Pre- or Post-BuildEvents section of your project file. However, because TFS will execute your builds with specific environment variables, you

git filter in on premise TFS 2015 Update 3

一曲冷凌霜 提交于 2019-12-25 16:48:53
问题 If the repository is git behind our TFS project there is no way to filter the repository by source folder. The build always pull the whole repository. We have multiple solutions in the TFS project we want to build separetly. We can do it, but it is slow because we cannot filter the source folder to download. The other problem that we cannot add folder to CI trigger. So all the projects will be build after a push in any projects. I know that the Team Services already support path filters for

How to retrieve build attachment from VSTS release summary tab

試著忘記壹切 提交于 2019-12-25 16:43:49
问题 I need to retrieve a build attachment attached using (##vso[task.addattachment]value) from release summary page (ms.vss-releaseManagement-web.release-details-summary-tab). Please point me to any references to achieve this. Thanks in advance. 回答1: Yes, you need to do followings things to get this: 1.Get the related build id of the release via getConfiguration(): var c = VSS.getConfiguration(); c.onReleaseChanged(function (release) { release.artifacts.forEach(function (art) { var buildid = art

TFS 2013 environment variables always empty

回眸只為那壹抹淺笑 提交于 2019-12-25 14:24:20
问题 I've defined custom arguments in my xaml build script and provided values: Then In my build I get the following instead of actual TF_BUILD_BUILDDIRECTORY. This is the string that writes: "dotCover Report..." String.Format("dotCover Report Path: {0}\{1}", DotCoverReportPath, DotCoverReportFileName) It's not translating to actual BUILDDIRECTORY path. What am I doing wrong? I've hit "refresh" several times and still no go. I wanted to get "C:\temp..." etc 回答1: Possible duplicate with this case

TFS 2013 environment variables always empty

Deadly 提交于 2019-12-25 14:23:23
问题 I've defined custom arguments in my xaml build script and provided values: Then In my build I get the following instead of actual TF_BUILD_BUILDDIRECTORY. This is the string that writes: "dotCover Report..." String.Format("dotCover Report Path: {0}\{1}", DotCoverReportPath, DotCoverReportFileName) It's not translating to actual BUILDDIRECTORY path. What am I doing wrong? I've hit "refresh" several times and still no go. I wanted to get "C:\temp..." etc 回答1: Possible duplicate with this case

How to correctly pass variables & source version to API 2.0 VNext Build in TFS 2015

那年仲夏 提交于 2019-12-25 09:24:19
问题 I'm having difficulty finding how the correct way to pass defined variables and build definition arguments to the new API 2.0 build engine with TFS 2015. I'm using TFS 2015 Update 3 on-premise . I've triggered a POST with powershell that looks like this: $Build_Definition_ID = 1234 $TFSInstanceURL = 'http://tfsservername:port/tfs' $ProjectCollection = 'CollectionName' $TeamProject = 'ProjectName' $Changeset = "12345" $UserName = "$env:USERDOMAIN\$env:USERNAME" $UserNamePartial = $env:USERNAME

TFS Configuration

感情迁移 提交于 2019-12-25 08:58:06
问题 I am trying to restore data from a series of databases onto a new server. The steps I have taken so far are: Copy backup files (and transaction logs) to new server Restore each database using SQL Server 2012 Attempt to run the Application Tier Only configuration tool in TFS 2015 (same version as the "LIVE" server. When the wizard runs I get through the initial checks and the when it attempts to start the configuration I get the below error. Can anyone suggest what the problem may be (I have