teamcity

Can't start c#+SeleniumWebDriver+Specflow+Nunit tests on Teamcity

≯℡__Kan透↙ 提交于 2019-12-08 06:53:09
问题 Now trying to run my Selenium tests, using Teamcity server. Server is installed locally. At this moment project in teamcity contains 3 steps: NuGet instaler. Step with Visual Studio as runner. Step with NUnit as runner. At this moment, 1 and 2nd steps are successfully finished. The 3rd step fails with next record in log: [Step 3/3] Volvo.DigitalCommerce.AutomatedTests.dll (9m:11s) [15:02:26][Volvo.DigitalCommerce.AutomatedTests.dll] Volvo.DigitalCommerce.AutomatedTests.Features.ChildSeat.CS

TeamCity Vs BuildForge

穿精又带淫゛_ 提交于 2019-12-08 06:49:48
问题 We are currently using TeamCity and planning to move on to BuildForge because of organizational needs/constraints. I want to do a feature comparison on TeamCity and BuildForge. Could anyone please help me on this. As I could find comparison of BuildForge with other CI tools such as Hudson, CruiseControl only. 回答1: I would use the other comparisons as a baseline (especially the Hudson one which will be quite close), and basically create a matrix of features you care about, and see which tools

TeamCity building with MsBuild and NuGet: “Unable to connect to the remote server”

巧了我就是萌 提交于 2019-12-08 06:09:44
问题 I have setup my TeamCity to build using MsBuild a project that NuGet packages. During the build, the following command to install packages is issued, but fails: ..\nuget.exe install "C:\TeamCity\buildAgent\work\811b6866c8757c46\Service\packages.config" -source "https://nuget.org/api/v2/" -RequireConsent -solutionDir "..\ " Error: Unable to connect to the remote server with exit code 1. Interesting to note is that when I run this exact same command on the cmd prompt (inside the same path), it

Teamcity + NYC + Istanbul - generate test coverage report

不羁岁月 提交于 2019-12-08 05:46:10
问题 I am trying to generate tests report into teamcity, everytime built is made. I've researched the several methods and ended up finding Istanbul's teamcity reporter: teamcity Now I am trying to integrate it into teamcity, but I've not found any instructions about it. 回答1: All you need to do is add a script target in your package.json that uses the reporter: "script": { ... "coverage:teamcity": "nyc --reporter=teamcity mocha ...etc..." ... } Then, in your build step, simply invoke it via command

TeamCity symbol server not serving symbols

↘锁芯ラ 提交于 2019-12-08 05:32:13
问题 I'm trying to implement the TeamCity Symbol Server for my internal NuGet packages, however the symbols are not loading. I'm following the instructions as per this blog which is standard advice for symbol server 回答1: The TeamCity Symbol Server plugin page showed the url to use was http://ourserver/app/symbols/ The fix was to drop the trailing slash http://ourserver/app/symbols Hitting that URL gives a 404 but that is the format that works for Visual Studio 2012 and when trying to verify the

TeamCity trigger for Github comment on pull request

不羁的心 提交于 2019-12-08 04:18:46
问题 I have my CI on TeamCity. It currently triggers builds on different events ( Pull Request creations, merges into Develop branch, etc.). However, I was wondering if it is possible to trigger a specific build as a result of writing a specific comment/labelling a Pull Request . The goal is to run a set of Automated UI tests when a Pull Request has been approved (from a coding correctness point of view) and that branch is ready to be merged into Develop . I don't want to run that set of Automated

Deploying a asp.net website using team city

∥☆過路亽.° 提交于 2019-12-08 02:46:55
问题 How to deploy a web site project, which does not have any project file. we are trying to automate build and deployment using team city. i am able to successfully build the project, but not able to deploy the web site. 回答1: MsDeploy supports deployment of WebSites via contentPath provider: msdeploy -verb:sync -source:contentPath=WebSite\Deploy,computername=localhost -dest:auto... Just change WebSite\Deploy to your actual path in your agent working directory, where is your builded website for

TeamCity Ant Junit 2 reports skipped as out-of-date

强颜欢笑 提交于 2019-12-08 02:45:35
问题 I'm setting up TeamCity to do automated builds when I commit something to develop. The problem being that on attempting to do a build I'm getting a reports skipped as out-of-date message. Here's my build.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- WARNING: Eclipse auto-generated file. Any modifications will be overwritten. To include a user specific buildfile here, simply create one in the same directory with the processing instruction <?eclipse.ant.import?> as the first

dotnet core deployment to azure app service using teamcity

十年热恋 提交于 2019-12-08 02:44:51
问题 I have a dotnet core app. I am building a pipeline in teamcity. and once the teamcity detects the change in the cource code, It downloads the source code runs dotnet restore dotnet build and copies the content in the output folder to Azure app service. I believe to run the app i need to run the command dotnet nameoftheprojectdll.dll but how can I run this command on the app service. and I need to run this command as part of a build script. 回答1: The Short Answer You need to use the dotnet

Team City - Add Gallio test result xml to build display

岁酱吖の 提交于 2019-12-08 01:32:09
问题 Im using TeamCity with Gallio/XUnit/Specflow and trying to display our unit/acceptance test results. I believe the output is NUnit xml test result format. Our unit tests auotmatically display using the command runner with Gallio. The acceptance tests are run through a large Powershell script which calls Gallio (Run-Gallio). Results are output to acceptance-test-results.xml. Is there a way to display the acceptance-test-results.xml in TeamCity (6.5.5) ? 回答1: To do this in a PowerShell script