tfsbuild

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

How to create custom folder from the release folder of Windows Work flow for TFS Build process?

女生的网名这么多〃 提交于 2019-12-12 01:53:46
问题 I have used the /p:GenerateProjectSpecificOutputFolder=True for creating build for each and every project in my solution and now i wanted to customerize the folder structure on my needs. How can we achieve this? enter image description here 回答1: If you are using XAML build, you can customize Binaries folder in TFS Team Build by modifying the build process template. Adding CreateDirectory Activity and FindMatchingFiles activity are necessary, following this blog for more details. If you use

Building ASP.NET 5 project in VSO

ε祈祈猫儿з 提交于 2019-12-12 01:23:07
问题 I cannot get VSO to build ASP.NET 5 projects. There seems to be an issue getting the packages. Build steps in VSO: I have the project building in VS 2015 and have "Restore NuGet Packages" checked. Build console output: ****************************************************************************** Starting task: Build solution $/Root/TestApi/Development/TestApi.sln ****************************************************************************** Executing the powershell script: C:\LR\MMS\Services

Publishing via TFS Build Service fails with “User not Admin”

混江龙づ霸主 提交于 2019-12-12 01:03:40
问题 I have set up a ASP.NET MVC5 project which is built with a TFS Build Service on our build server. After a build is triggered and succeeded, i would like to have the webapplication published to our test system. When I publish through my Visual Studio (2013), it works. But when it tries to publish it after the build of the build service, it gives me the error "user not admin". I even started Visual Studio on the build server and tried to publish a project directly to the test system, this also

Is it possible to install TFS Build Service on Domain server while connecting to TFS server installed on non-Domain server

三世轮回 提交于 2019-12-11 23:45:18
问题 My scenario is: I installed TFS server 2012 (application tie) on server (s1) in a workgroup . Then I installed TFS 2012 Build service on server (s2) in a domain (d1). I created a user (build_user) on both s1 and the Domain Controller of s2 with same password. Then I started the TFS Administration Console -> Build Configuration -> Configure Installed Features -> configure build service -> Connected to TFS server on s1 -> Run build service as: "build_user", when I clicked "Test", it passed ->

Does TFS download all working folders in build definition?

好久不见. 提交于 2019-12-11 20:34:10
问题 In my build definition under "Working folders", I have $/MyProject/Main/Source mapped to $(SourceDir) . Does that make it download all files in $/MyProject/Main/Source to $(SourceDir) ? Or does it only download what is included within the solution that I'm building if it exists within $/MyProject/Main/Source ? 回答1: It will download all files under that folder. If you want to limit what it downloads you can add other paths to the workspace mapping and mark them as "cloak" which will indicate

Build Failing on NPM Install - Typings

与世无争的帅哥 提交于 2019-12-11 19:57:43
问题 I suddenly have an issue where our build server is now failing on a web build. Our first step after getting sources is to run a PowerShell script that does a few things, including running npm install (so we do not keep all the packages in source control). The process gets to what should be the last item in the list, and then throws error EISDIR: illegal operation on a directory, open 'K:\_work\4\s\Web\typings' No changes have been made to any of the package config files. I have tried several

PowerShell Remoting error with TFS build Visual Studio Test Agent Deployment task

人走茶凉 提交于 2019-12-11 18:37:59
问题 I'm working on integration of automated UI functional tests into non-XAML TFS build. My build definition specifies the following build steps: - Get Sources - NuGet Installer - MSBuild - Windows Machine File Copy - Visual Studio Test Agent Deployment - Run Functional Tests The first four steps complete successfully. Step 4 (Windows Machine File Copy) copies our test project application folder contents from our build server to another remote VM, hosting our Test Agent. The intention is to

Retrieve VSTS/TFS Build task name list

限于喜欢 提交于 2019-12-11 17:46:08
问题 I need to retrieve build task name list from VSTS/TFS build. Is there inbuilt method/library available to support this? I have already noted (as below sample) that we can retrieve same in release. import ReleaseClient = require("ReleaseManagement/Core/RestClient"); var rc= ReleaseClient.getClient(); release.environments.forEach(function (env) { rc.getTasks(VSS.getWebContext().project.id, release.id, env.id).then(function(taskList){ ............... ......Some code here }); } 回答1: The

get data from TFS in custom web application

佐手、 提交于 2019-12-11 17:28:43
问题 I need to extract some data from TFS (Team Foundation Server) and create some excel sheet with data. To automate it, I am writing an application . But problem is: How can I get data from TFS? Is there any webservice available for this or I need to parse HTML and then get the data. 回答1: No. TFS has broad coverage APIs and came in two flavors: Object Model and REST. The Object Model is automatically installed when you install Visual Studio / Team Explorer, otherwise you can use the stand-alone