teamcity

Visual Studio 2010 - WDP or Publish for automated deployment?

本秂侑毒 提交于 2019-12-09 13:42:11
问题 I'm about to upgrade to Visual Studio 2010, and I'm learning that there are now a few options for deploying web application projects. I've been using Web Deployment Projects in 2008, and my initial thought was to do the same in 2010. Is there any advantage to using Publish or the Web Deployment Tool over Web Deployment Projects? I need to automate the process so that the build and the deployment can be run from TeamCity. I'd prefer a method that would allow me to use the Visual Studio (sln)

Setting up TeamCity with my own GIT Server over SSL

爷,独闯天下 提交于 2019-12-09 13:01:56
问题 I have my own GIT server repository and can be connected via HTTPS protocol. I am trying to setup TeamCity to connect to my GIT repo but I am unable to because of the HTTPS protocol. In Eclipse, I have a setting that sets sslVerify=false and I can connect to my GIT repo and perform my task. How can i achieve the same for TeamCity? 回答1: As issue TW-30210 illustrates, it can depends on the version of TeamCity and Java you are using. It also depends if your certificate is self-signed or not. If

Is it possible to output and rename build artifacts from the TeamCity checkout directory (that are not archives)?

允我心安 提交于 2019-12-09 08:44:18
问题 I have gone through the documentation for TeamCity on build artifact outputs (https://confluence.jetbrains.com/display/TCD8/Configuring+General+Settings#ConfiguringGeneralSettings-ArtifactPaths) However, it doesn't seem clear to me as to how I can output a standard file from the build checkout directory, AND rename it when placing it into the build's artifacts. I can do this pretty easily using archive file designations. For example: %system.teamcity.build.checkoutDir%\TestProject.Installer

How to diagnose “TestFixtureSetUp Failed”

萝らか妹 提交于 2019-12-09 07:30:29
问题 We use TeamCity as our CI server, and I've just started seeing "TestFixtureSetUp Failed" in the test failure window. Any idea how I go about debugging this problem? The tests run fine on my workstation (R# test runner in VS2008). 回答1: It is a bit of a flaw in the implementation of TestFixtureSetUp (and TestFixtureTearDown) that any exceptions are not well reported. I wrote the first implementation of them and I never got it to work the way it was supposed to. At the time the concepts in the

How to cleanup old Failed Builds in TeamCity?

久未见 提交于 2019-12-09 07:24:06
问题 We do have hundreds of failed builds in TeamCity (number is especially high because of old retry on fail settings) and now it's a pain to browse history. I want to clean up only old failed builds, is there anyway to do that in TeamCity? Normal clean-up policy only allows X days before the last successful build sort of clean ups. 回答1: I tried to find a "delete build history record" but I couldn't find one. That doesn't prove it isn't there, but it it was, it would be an opportunity for devs to

Is it possible to change TeamCity's artifacts path

巧了我就是萌 提交于 2019-12-09 04:21:49
问题 The default path for teamcity artifacts is C:\#User#\.BuildServer\system\artifacts How can i change it to d:\TeamCity\Artifacts Thanks 回答1: For me the default is D:\BuildServer\system\artifacts Yes you can, set the TEAMCITY_DATA_PATH environment variable. See here: http://www.jetbrains.net/confluence/display/TCD4/TeamCity+Data+Directory By default, the is placed in the user's home directory (e.g. it is $HOME/.BuildServer under Linux and C:\Documents and Settings\.BuildServer) under Windows.

TeamCity Agent Missing DotNetFramework4.0_x86, but not?

我的梦境 提交于 2019-12-08 21:38:36
问题 I've been trying to move our TeamCity install from an old server onto a new Windows Server 2008 R2 server, I've finally got everything configured. However the build agent is saying that DotNetFramework4.0_x86 isn't available on the build agent, but .NET 4.0 framework is installed. Has anyone come across this issue, is it a Windows Server 2008 R2 thing? 回答1: Your build agent seems to failed to autoupgrade. Do the following: stop agent kill all java processes remove agent/system, agent/plugins,

TeamCity: Failed to detect target in MSBuild project

。_饼干妹妹 提交于 2019-12-08 21:18:48
问题 I have some problems with the TeamCity MSBuild replacement I think. I've tried to compile a Delphi 2010 Project (MSBuild compliant) with NAnt using the MSBuild task (NAnt Contrib). Everything works fine, if I do it without TeamCity on the console. If I try it with TeamCity, I get the following error message: Failed to detect default target(s) in the project file F:\CI\TeamCity\TeamCity\buildAgent\work\892195dab42324a3\build\src.temp\TestProject\Test.dproj. Please define targets explicitly in

Launchd OSX not running bash with teamcity agent

梦想的初衷 提交于 2019-12-08 19:47:55
问题 I have a shell script startup.sh that does the following (create a RAM disk and start the teamcity agent): #!/bin/bash DISK=`/usr/bin/hdiutil attach -nobrowse -nomount ram://16777216` /usr/sbin/diskutil erasevolume HFS+ "RamDiskCache" $DISK /Users/administrator/buildAgent/bin/agent.sh start I can run this from the command line by typing ./startup.sh and it runs correctly. When I run from launchd, it ONLY creates the RAM disk, teamcity doesn't start. My launchd plist is located in ~/Library

Nuget Packages exclude version in folder naming

北城以北 提交于 2019-12-08 19:16:23
问题 currently i have a project that has nuget packages that are placed in folders according to their different version number Example packages/EntityFramework.4.1.10331.0/.. Is there a way to update the packages and have the folders renamed to exclude the version numbers i.e for the above we have packages/EntityFramework/ 回答1: Currently, NuGet doesn't support installing packages without their version number. There's a work item tracking this here: Issue #1522. Please comment/vote to bump the