teamcity

Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error “You must update your client with the Forward Compatibility Update”

不问归期 提交于 2020-01-04 10:13:18
问题 Teamcity 7.1.3 on a Windows 7 64 bit build machine The box is currently happily building VS2008 projects stored in a TFS2005 server, but am trying out VS2012 projects stored in TFSPreview / TF Service, and I cannot get past setting up the VCS root. On clicking Test Connection, I get the following.. Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build Configuration for Hello World. TFS failed. ExitCode: 1 stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains

SetUp method failed while running tests from teamcity

强颜欢笑 提交于 2020-01-04 06:14:16
问题 I am successfuly running tests locally via nunit. But when I try to run them through teamcity some tests are passed but some failed by giving the following error. SetUp method failed. System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 800704a6. at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler, Boolean

SetUp method failed while running tests from teamcity

无人久伴 提交于 2020-01-04 06:12:27
问题 I am successfuly running tests locally via nunit. But when I try to run them through teamcity some tests are passed but some failed by giving the following error. SetUp method failed. System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 800704a6. at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler, Boolean

Stop a TeamCity build via REST call

江枫思渺然 提交于 2020-01-04 04:42:26
问题 Is it possible to cancel a currently running build via REST API? I've got an integration which fetches currently running builds, and I would like to terminate builds of a given type if they are failed. I know how to list the failing builds of a given type, how do I then pass the stop command? 回答1: Maybe not with the REST API, but if you look here (towards the bottom in the Comments section) there's an 'undocumented' feature that lets you do it over HTTP. 回答2: You can use the undocumented http

How to display build error messages in TeamCity when using cake build scripts

て烟熏妆下的殇ゞ 提交于 2020-01-04 01:36:34
问题 Having a CI pipeline that is using Teamcity and Octopus deploy and build scripts written with Cake I want to be able to display the error messages that generated by the build script. Now the message displayed is: Exit code 1 (new) In order to be able to see the real error message one must view the build log and parse it. So, even when using build script, I want to be able to display the build results in overview page and the list of errors like in the following picture: I know that Cake

Teamcity failing to install packages via nuget

我的梦境 提交于 2020-01-03 18:37:11
问题 SOLVED - PLEASE SEE COMMENT I have a project on team city that is failing to install the required packages. This has has worked for over a year but this week all builds started failing. my development process is as follows: We use github and develop locally using visual studio. We have a windows teamcity agent that does our compiling, and a teamcity server that automatically runs builds. I get this Error on a build: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(902, 9

Does Visual Studio use MSBuild internally, and what is the exact command? [duplicate]

那年仲夏 提交于 2020-01-03 15:16:08
问题 This question already has answers here : What parameters does Visual Studio pass to MSBuild? (2 answers) Closed 5 years ago . Does Visual Studio (specifically VS2013) use msbuild internally to build projects? And if so, is there a way for me to determine the exact command and arguments it uses? (And by this I mean the MSBuild command , not the individual commands that MSBuild would be calling) My goal is to successfully build a certain projects (it is a xamarin project) using msbuild, so that

'System.Net.Http 4.0.0' package requires NuGet client version '3.0' or above

自作多情 提交于 2020-01-03 07:24:51
问题 Using team city as our CI and I've started getting this error message. We've obviously updated System.Net.Http recently which now needs a new version of NuGet. How do I get team city to find the new NuGet version. I've tried installing VS2015 and updating NuGet package manager through there. I've tried pointing directly to the command line nuget.exe (Don't know if that's been updated to v3?) [restore] The 'System.Net.Http 4.0.0' package requires NuGet client version '3.0' or above, but the

TeamCity 5.X: REST Documentation

那年仲夏 提交于 2020-01-03 06:18:52
问题 TeamCity 5.X REST documentation directs us to a plug-ins page that is not TeamCity 5.X specific. I just recently realized this, and it seems that some of the functionality such as the running:true build dimension are not supported until TeamCity 6.0. Does anyone know where I can find documentation about the REST API for TC 5.X for reference? 回答1: You can review older versions of the documentation but not based on the TeamCity release numbers. You might have some luck looking at versions prior

Teamcity control application deploy?

Deadly 提交于 2020-01-03 05:38:10
问题 Could Teamcity control application deploy, for example to tomcat? P.S. without plugins like this 回答1: We implemented similar tasks with Teamcity to deploy war files to our jetty servers: After the ordinary build step that creates the war file, we invoke a script in a " Command Line " build step which uses scp to copy the war file to the jetty server. On the jetty server, there is a cron job running at every five minutes just checking if there is a new war file or not. If there is, it