teamcity

Getting statistical history from TeamCity API

佐手、 提交于 2019-12-21 04:38:12
问题 From looking at the TeamCity REST API Documentation, the request for statistical data is: http://teamcity:8111/httpAuth/app/rest/builds/<buildLocator>/statistics/ Which works, however , it only gives statistics for the current build (tests passed, code coverage, number of duplicates, etc.), I am looking to build a graph for my build radiator showing trends, therefore I want the historical data for the past month. Is there a way to get this historical statistic data from the TeamCity API? 回答1:

TeamCity Call Url Build Step

亡梦爱人 提交于 2019-12-21 04:05:00
问题 I am using TeamCity to build and deploy files onto a IIS website using Web Deploy 3. I would like to add a step to call a url when done so that the custom cache can be refreshed when the deployment is finished. Is there a way I can add a build step to call a url? Thanks 回答1: I would solve this using a command line script that hits the url, and one of TeamCity's command line runners. The question is tagged asp.net so I assume you're on Windows. Put this Get-WebFile script in a Powershell Build

Continuous Integration - with what to start: CruiseControl.NET vs TeamCity vs Visual Studio Team System [closed]

霸气de小男生 提交于 2019-12-21 03:59:15
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . I'm new to Continuous Integration. I want an advice with what tool should I start deal with. I see that this is the biggest tools right now: CruiseControl.NET, TeamCity and Visual Studio Team System. I'm using this tools: Visual Studio 2010, Mercurial, NAnt, NUnit. 回答1: Both

TeamCity job, run step only if a previous one has failed?

风格不统一 提交于 2019-12-21 03:41:05
问题 We're using TeamCity 7 and wondered if it's possible to have a step run only if a previous one has failed? Our options in the build step configuration give you the choice to execute only if all steps were successful, even if a step failed, or always run it. Is there a means to execute a step only if a previous one failed? 回答1: Theres no way to setup a step to execute only if a previous one failed. The closest I've seen to this, is to setup a build that has a "Finish Build" trigger that would

TeamCity pending changes are not run

家住魔仙堡 提交于 2019-12-21 03:12:17
问题 I have got configured TeamCity to execute NUnit tests. When I run manually it then it is working fine. But somehow it acumulates pending changes and doesn't run test even if I refresh overview page of TeamCity. I am wondering which setting I have to use so pending changes will run? Basically I would like to start first pending changes to execute as soon as it appears. Thank you! 回答1: It sounds like you are missing your build trigger. When you edit the project settings, you should see the

TeamCity incremental testing for .Net projects

半世苍凉 提交于 2019-12-21 02:38:18
问题 I'm building a modular WPF application. Each screen is a highly independent and isolated unit. The only thing shared - shell and a common library with a facade interface for the reusable services (message bus, persistence, window management etc). Since the modules are loosely coupled it doesn't make sense to retest everything when a single module changed. I want to test only what's changed. If there is a change in a common library - everything should be retested. From a source control diff

WebDeploy with MSBuild Not Deploying from TeamCity

社会主义新天地 提交于 2019-12-20 21:52:40
问题 I am trying to use MSDeploy to deploy an MVC project to the server using TeamCity. When I do this on my computer in powershell, using the following command: msbuild.exe .\mvc.csproj /p:PublishProfile=DevServer /p:VisualStudioVersion=11.0 /p:DeployOnBuild=True /p:Password=MyPassword /p:AllowUntrustedCertificate=true It builds the project and deploys it to the server (info defined in the DevServer publish profile) perfectly. The output shows an MSDeployPublish section at the end, in which I see

WebDeploy with MSBuild Not Deploying from TeamCity

僤鯓⒐⒋嵵緔 提交于 2019-12-20 21:52:32
问题 I am trying to use MSDeploy to deploy an MVC project to the server using TeamCity. When I do this on my computer in powershell, using the following command: msbuild.exe .\mvc.csproj /p:PublishProfile=DevServer /p:VisualStudioVersion=11.0 /p:DeployOnBuild=True /p:Password=MyPassword /p:AllowUntrustedCertificate=true It builds the project and deploys it to the server (info defined in the DevServer publish profile) perfectly. The output shows an MSDeployPublish section at the end, in which I see

Full list of /P MSDeploy arguments for MSBuild from TeamCity

梦想与她 提交于 2019-12-20 17:04:33
问题 I currently use the MSBuild runner in TeamCity for continuous integration on my local server and this works very well. However, I'm having trouble finding a full list of supported command line switches for MSDeploy in the format that TeamCity expects them. In my 'Parameters' section at the moment I using the following switches: /P:Configuration=OnCommit /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://CIServer:8172/MsDeploy.axd /P:AllowUntrustedCertificate

Full list of /P MSDeploy arguments for MSBuild from TeamCity

浪子不回头ぞ 提交于 2019-12-20 17:03:38
问题 I currently use the MSBuild runner in TeamCity for continuous integration on my local server and this works very well. However, I'm having trouble finding a full list of supported command line switches for MSDeploy in the format that TeamCity expects them. In my 'Parameters' section at the moment I using the following switches: /P:Configuration=OnCommit /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://CIServer:8172/MsDeploy.axd /P:AllowUntrustedCertificate