teamcity

Continuous Integration with Teamcity and Clearcase

…衆ロ難τιáo~ 提交于 2019-12-05 10:19:57
Has anybody successfully integrated Clearcase with Teamcity (which advertises Clearcase support) to realize a productive continuous integration build environment on a decent size project? VonC Yes we have, but with a custom ClearCase plugin for TeamCity , in order to:: use a dynamic view set with a "time" directive , and to avoid hundreds of " descr -l " for each changed files (which would be Sparta, err, no, madness, would be madness since it would represents hundreds of transaction to the ClearCase server) Check out the TCCC plugin on GitHub. 来源: https://stackoverflow.com/questions/1688061

Which continuous integration server is able to queue jobs?

与世无争的帅哥 提交于 2019-12-05 08:51:33
Use case: CI server polls some VSC repository and runs test suite for each revision. And if two or more revisions were commited, even in a relatively small time interval, I want the CI server to put each of them in queue, run tests for each, store the results, and never run tests again for those commits. And I don't want the CI server to launch jobs in parallel, to avoid performance issues and crashes in case of many simultaneous jobs. Which CI server is able to handle this? My additional, less important requirement is that I use Python and it is desirable to use software written in Python, so

How to enable remote debugging in Azure Cloud Service package built by MSBuild

ε祈祈猫儿з 提交于 2019-12-05 08:34:31
问题 I'm building ccproj project directly by MSBuild (within TeamCity): msbuild Project.Azure.ccproj /p:Configuration=Debug /t:Publish How to enable remote debugger? Like in the UI: 回答1: This is explained in the Azure documentation. Basically you should get the remote tools for visual studio 2013 and then add the following properties to the msbuild command: msbuild /TARGET:PUBLISH /PROPERTY:Configuration=Debug;EnableRemoteDebugger=true;VSX64RemoteDebuggerPath="<path-to-remote-tools>"

How can I fail a TeamCity build if dotCover doesn't report a high enough result?

柔情痞子 提交于 2019-12-05 08:18:48
I would like TeamCity to run my mSpec tests and report on the code covered by the tests. I would also like TeamCity to report that a build has failed if code coverage in certain namespaces doesn't meet a threshold (e.g. MyProduct.ImportantStuff must be 100% , but MyProduct.LegacyStuff must be [ 23% or whatever it currently is to ensure we don't add new stuff without covering tests ]. I initially looked at dotCover as it's integrated into TeamCity. I have since been looking at OpenCover as I couldn't get TC to fail the build on low coverage. I got OpenCover working but I would still like to

Can I get statistics for test cases steps inside robot framework?

自作多情 提交于 2019-12-05 07:58:52
问题 In order to optimize time of execution, i create some test cases dependent from each other i want to get metrics and statistics not only for each testcase and testsuite. But also i want to generate statistics and metrics for each step. Is that possible ? PS : I'm using team city for continuous integration. Best regards, Emna A. 回答1: Using robot framework api we can get TEST and KEYWORD Metrics Reference: Link API: class robot.result.model.Keyword class robot.result.model.Test Keyword Metrics

Teamcity build badge on github

放肆的年华 提交于 2019-12-05 05:28:40
I wanted to add a teamcity build badge on my github page.My repository is a private github repository. I started of by including the code below as the link said. <a href="http://teamcity/viewType.html?buildTypeId=myID&guest=1"> <img src="http://teamcity/app/rest/builds/buildType(id:myID)/statusIcon"/> </a> The problem I got stuck at then,was that the image was being blocked.I suspected that this was because my teamcity server was on http while my github repo used https. In my case it is not possible to change teamcity to use https and so this was not an option. Any workarounds/suggestions for

Ignore file from delete during WebDeploy

风流意气都作罢 提交于 2019-12-05 05:12:21
I'm using TeamCity to build and deploy a collection of MVC Applications via msbuild and WebDeploy. In a step previous to my solution build/deploy, I copy an app_offline.htm to the deploy directory so that I can perform SQL updates and other web/solution management steps including the build. One of the setting in the WebDeploy is to delete files that aren't included in the project, or not needed to run the site. This deletes my app_offline.htm file each time. While I understand this is kind of the desired result, is there a way to exclude this file from being deleted from the deployment

Build error when signing with snk key

末鹿安然 提交于 2019-12-05 04:46:39
Build error is occurring since using Visual Studio 2015. When building in Visual Studio 2015 this is occurring rarely. When building in TeamCity this occurs very often. [Error in Visual Studio 2015] Error extracting public key from file 'CompanyName.snk': The process cannot access the file 'C:\Users\UserName\AppData\Local\Temp\tmp2FF6.tmp' because it is being used by another process. CompanyName.Project.DAL D:\Projecten\CompanyName\Repository\Source\Components\CompanyName.Project.DAL\vbc http://i.stack.imgur.com/hKbbe.png [Error in TeamCity] CSC error CS7027: Error signing output with public

How do I set TeamCity to not produce build artifacts when the build fails?

偶尔善良 提交于 2019-12-05 04:46:05
How do I set up TeamCity so that it does not publish build artifacts if the build fails because a unit test failed? I'm pretty sure it worked this way prior to version 6.0, but since upgrading to 6.0 it always produces artifacts even if a test fails. I have "Fail build if at least one test failed" checked. We had an outage with the e-mail notification and I didn't know we had a build problem because it continued producing artifacts. Please watch/vote for this issue: http://youtrack.jetbrains.net/issue/TW-12194 来源: https://stackoverflow.com/questions/5392181/how-do-i-set-teamcity-to-not-produce

Cannot add part for the specified URI because it is already in the package

ぐ巨炮叔叔 提交于 2019-12-05 03:36:13
I am using NUGET Pack in teamcity to build a package. But it is creating the following error. I am using nuget teamcity version 2.2.1. Step 2/2: Build Package (NuGet Pack) (14s) [12:10:40][Step 2/2] Cleaning Z:\hgbuilds\IT\Build\packages [12:10:40][Step 2/2] pack: Create NuGet package from UI\UI.Tour\UI.Tour.Web\UI.Tour.Web.csproj (14s) [12:10:40][pack] NuGet command: C:\BuildAgent\tools\NuGet.CommandLine.2.2.1.nupkg\tools\NuGet.exe pack Z:\hgbuilds\IT\UI\UI.Tour\UI.Tour.Web\Calrom.UI.InclusiveTour.Web.csproj -OutputDirectory Z:\hgbuilds\IT\Build\packages -BasePath Z:\hgbuilds\IT -Verbose