teamcity

Email user that broke build in Teamcity

﹥>﹥吖頭↗ 提交于 2019-11-30 11:20:09
问题 In Husdon/Jenkins, I can setup notifications when the build is broken to email the user(s) that made the checkins that broke the build. How do I do this in Teamcity? I am aware that individual users can setup email notifications for themselves via the Teamcity interface (for when the build is broken), but I ONLY want emails sent to the users that broke the build, also I don't want the requirement that every individual user have to update their Teamcity settings. 回答1: Open TeamCity in your

Can TeamCity publish a Web project using the sln2008 build runner?

自闭症网瘾萝莉.ら 提交于 2019-11-30 11:05:11
问题 I'm building an ASP.Net MVC project in TeamCity. Can I somehow call the Publish target and get the output copied to a folder under IIS? or do I need to write an msbuild script for this? 回答1: I've written a pretty long blog post on this very topic that may interest you: http://www.diaryofaninja.com/blog/2010/05/09/automated-site-deployments-with-teamcity-deployment-projects-amp-svn basically: install web deployment projects add web deployment project to your solution setup the solution

Continuous Integration for a small .NET open source project [closed]

别等时光非礼了梦想. 提交于 2019-11-30 10:17:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm starting a small open source project, myself being the sole contributor for the time. Still, I think a continuous integration setup would be useful to detect whether I broke the build. Is there a free, hosted continuous integration server that is suitable for very small projects ? Googling turned up

Programmatically pin a build in Teamcity

≡放荡痞女 提交于 2019-11-30 08:57:57
Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin a build if a Deploy-build is successfull. Just found out that its possible through the REST API I can f.ex send a PUT command like this http://teamcityserver:81/httpAuth/app/rest/builds/id:688/pin/ and then the build with id 688 ( teamcity.build.id ) will be pinned. I would like to challenge the accepted answer with an up-to-date answer, which was tested with TeamCity 9 EAP 4 (build 31717) and 8.1.x. Tagging and pinning could be implemented via a simple plugin that contains just an event adapter such as the

Is there a way to access TeamCity system properties in a Powershell script?

佐手、 提交于 2019-11-30 08:19:17
I'm trying to set up a new build configuration in TeamCity using the Powershell runner. However, I can't seem to find a way to access the TeamCity System Properties in the build script. I've seen hints that it is possible, but cannot find documentation on how to do it. I have tried accessing the system properties using Powershell variable syntax, $variable. I have also printed out all variables in memory and see no teamcity variables to use. Is this possible with the Powershell runner, and if so what is the syntax necessary to get it working? TeamCity will set up environment variables, such as

TeamCity: labeling VCS (Subversion) with an artifact's file version

巧了我就是萌 提交于 2019-11-30 07:41:18
I want to create create a label (tag) in the SVN with a file's version. I'm already renaming the artifact by getting the file version of the main executable produced by the build. Such as: MyInstaller-1.2.3.1.exe . Now I want to create a tag in the SVN called /tags/1.2.3.1 . I couldn't find a way to set such a thing in the labeling pattern. Currently my labeling is just "%system.build.number%" Any idea about how to do this? I'm using TeamCity Professional Version 4.5.3 (build 9035) As someone mentioned, you can output the build number during the execution of the build script, and teamcity will

Trigger subsequent build once after multiple parallel builds in TeamCity

白昼怎懂夜的黑 提交于 2019-11-30 07:29:43
We have over 150 projects which I have gathered together, reconfigured and optimised into multiple TeamCity configurations, with multiple build agents, to try to improve our build server performance which currently builds in a highly sequential manner. The mix of technologies (Web, dotNet, VB6 and COM+) and system architecture means that there are various steps (configurations) which can now run in parallel but which need to come together further down the track. This is a very simplified dependency scenario but representative of a problem we have.... A -> B -> Collate (-> Deploy) A -> C ->

Deploying a .Net 4.5 website to an IIS 7.5 server

谁说胖子不能爱 提交于 2019-11-30 07:14:27
We are using Teamcity to do continuous integration builds for our website and have just upgraded our website to .Net 4.5RC. The application builds and runs in IIS express on my box and builds on our build server that I have installed .NEt 4.5RC on. But when we deploy it to the server that has had .Net 4.5RC installed on it we get the following error. The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v4.0'. This application requires 'v4.5'. What can I do to fix this problem. I have tried setting the application pool on the server to 4.5, but can't.

msbuild.exe staying open, locking files

若如初见. 提交于 2019-11-30 05:51:52
问题 I use TeamCity which in turn invokes msbuild (.NET 4). I have a strange issue in that after a build is complete (and it doesn't seem to matter if it was a successful build or not), msbuild.exe stays open, and locks one of the files, which means every time TeamCity tries to clear its work directory, it fails, and can't continue. This happens almost every time. I'm really lost on this one, so I'll try to provide as much detail as possible. Server is an Intel Core i7, 2 GB ram, with Windows

Why did my TeamCity build stop working?

纵然是瞬间 提交于 2019-11-30 05:50:54
I have a TeamCity build configuration that has been working fine until recently. Suddenly, there is a build stuck in the queue that says it is not compatible with any agents. The reason given is: Implicit requirements: teamcity.build.branch defined in Parameter: BuildFormatSpecification My BuildFormatSpecification parameter is defined thus: %MajorVersion%.%MinorVersion%.%PatchVersion%-%teamcity.build.branch% That in turn is used in the Build Number Format field along with a build counter, like this: %BuildFormatSpecification%.%sharedBuildNumber.id4% The idea is that the build number comes out