teamcity-5.1

Team City build fails after upgrade to VS 2010

£可爱£侵袭症+ 提交于 2020-01-06 02:53:06
问题 I have a project that currently compiles happily on my dev machine using VS 2010 (presumably using MSBUILD v4.0), but it fails under MSBUILD v3.5 in Team City (running on a VM based on Win 2003 server w/ .NET 2, 3.5 and 4 installed). This project is newly upgraded to 2010, and is now failing on the CI build. I've Googled this and tried everything obvious (plus a few things that didn't make sense) and nothing affects the outcome. The project fails with a sequence of errors like this: error

Restore TeamCity projects from DB

巧了我就是萌 提交于 2020-01-04 14:17:52
问题 Is there a possibility to restore the TeamCity project settings from an existing db? I have separate servers for the TeamCity data tier and application tier. The TeamCity application server had been damaged and i'm trying to restore it from the existing data tier. I'm using TeamCity 5.1.2. Any ideas? 回答1: TeamCity project settings stored at $TEAMCITY_DATA_PATH$/config folder. If you lost this folder there only one way to restore it - backups. You can also review information on TeamCity Data

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 command line build runner: How to make the build fail?

非 Y 不嫁゛ 提交于 2019-12-04 15:15:49
问题 We're using TeamCity's command line build runner to call a bat-file. The bat-file builds our solution by calling the Visual Studio 2008's "devenv.exe" and then it executes the unit tests and creates the correct folder structure. What we would like to do is to stop executing the bat-file if the call to devenv fails and make the TeamCity to realize that the build failed. We can catch the failed devenv call by checking the ErrorLevel (which is 1 if the build failed) and we can exit our bat-file

TeamCity command line build runner: How to make the build fail?

谁说我不能喝 提交于 2019-12-03 09:29:45
We're using TeamCity's command line build runner to call a bat-file. The bat-file builds our solution by calling the Visual Studio 2008's "devenv.exe" and then it executes the unit tests and creates the correct folder structure. What we would like to do is to stop executing the bat-file if the call to devenv fails and make the TeamCity to realize that the build failed. We can catch the failed devenv call by checking the ErrorLevel (which is 1 if the build failed) and we can exit our bat-file at that point. But how can we tell to the TeamCity that the build failed ? This is what we've tried: