teamcity

SpecFlow + Selenium2 + ASP.NET MVC + TeamCity Not Working

好久不见. 提交于 2020-01-24 15:05:26
问题 I have some SpecFlow features which are using Selenium 2 to automate some UI testing of an ASP.NET MVC 3 application. When I run these locally, it runs fine and the tests pass. Once committing my changes to Git and pushing the commits to our remote repository for our TeamCity instance to pick up, the tests run and take a hell of a lot longer, only to fail with the following. Test(s) failed. OpenQA.Selenium.WebDriverException : No response from server for url http://localhost:7055/hub/session

SpecFlow + Selenium2 + ASP.NET MVC + TeamCity Not Working

被刻印的时光 ゝ 提交于 2020-01-24 15:05:09
问题 I have some SpecFlow features which are using Selenium 2 to automate some UI testing of an ASP.NET MVC 3 application. When I run these locally, it runs fine and the tests pass. Once committing my changes to Git and pushing the commits to our remote repository for our TeamCity instance to pick up, the tests run and take a hell of a lot longer, only to fail with the following. Test(s) failed. OpenQA.Selenium.WebDriverException : No response from server for url http://localhost:7055/hub/session

SpecFlow + Selenium2 + ASP.NET MVC + TeamCity Not Working

只谈情不闲聊 提交于 2020-01-24 15:04:05
问题 I have some SpecFlow features which are using Selenium 2 to automate some UI testing of an ASP.NET MVC 3 application. When I run these locally, it runs fine and the tests pass. Once committing my changes to Git and pushing the commits to our remote repository for our TeamCity instance to pick up, the tests run and take a hell of a lot longer, only to fail with the following. Test(s) failed. OpenQA.Selenium.WebDriverException : No response from server for url http://localhost:7055/hub/session

TeamCity: Subversion VCS root with GitHub externals

放肆的年华 提交于 2020-01-24 12:48:05
问题 We have an SVN repository with some externals hosted at GitHub. All is well in development; GutHub supports being accessed by an SVN client very well. The problem is with TeamCity. It appears to get the externals by date rather than by revision. We get the following error: Failed to build patch for build #2.17.7081 {build id=12}, VCS root: svn: https://xxx.xxx.xxx.xx/svn/iaw/trunk {instance id=2, parent id=1}, due to error: Cannot request SVN dated revision: svn: E200007: Server does not

Pass argument with quotes to PowerShell script via TeamCity

三世轮回 提交于 2020-01-23 08:02:29
问题 We're calling a PowerShell script via TeamCity. We want to pass a parameter which contains quotes, e.g.: Build step : PowerShell Script file : foo/bar/my.ps1 Script arguments : -MyParam "%system.MyParam%" Where system.MyParam is set to <xml><elem attr="value"></elem></xml> . Unfortunately, this fails with: Cannot process argument transformation on parameter MyParam . Cannot convert value " <xml><elem " to type " System.Xml.XmlDocument ". Error: "Unexpected end of file while parsing Name has

TeamCity agent error “failed to perform checkout on agent”

纵然是瞬间 提交于 2020-01-22 11:19:06
问题 I am running my TeamCity 7 server and agent on MacOS. My repo is on github. I use ssh and I know that the authentication is correctly configured, because the test is successful. The build works fine when I use VCS Checkout Mode "Automatically on server", however when I use VCS Checkout mode "Automatically on agent" I get this error. [13:40:35][Updating sources] Failed to perform checkout on agent: '/usr/bin/git fetch --progress origin +refs/heads/master:refs/remotes/origin/master' command

java.lang.ClassNotFoundException: Didn't find class with TeamCity build

穿精又带淫゛_ 提交于 2020-01-17 03:38:06
问题 After adding android-support-v7-appcompat and google-play-services_lib to the Android project application starts to crash right after start with java.lang.ClassNotFoundException exception. I read all questions on StackOverflow related to this problem, and opened Eclipse -> Java Build Path -> Order and Export and verified that: Android Private Libraries, Android dependencies, Google Play Services.jar are checked and Android API unchecked here. So apk built locally works fine. But on TeamCity

TeamCity - scheduled build not starting

依然范特西╮ 提交于 2020-01-16 05:07:05
问题 I've posted this question on the TC discussion forum but so far haven't received any response, so decided to try my luck here. Recently I started seeing very strange behavior and would appreciate any ideas what may be going wrong. I'm using version 7.1 (build 23907) on the internal database. I have two builds (dev and release) using single build template. So the all steps, parameters and the build trigger is defined in the template, specific builds only change checkout branches etc. So this

Build dependencies and local builds with continuous integration

。_饼干妹妹 提交于 2020-01-15 13:33:52
问题 Our company currently uses TFS for source control and build server. Most of our projects are written in C/C++, but we also have some .NET projects and wouldn't want to be limited if we need to use other languages in the future. We'd like to use Git for our source control and we're trying to understand what would be the best choice for a build server. We have started looking into TeamCity, but there are some issues we're having trouble with which will probably be relevant regardless of our

Cannot build with TeamCity and one git submodule

爷,独闯天下 提交于 2020-01-15 09:44:28
问题 I'm trying to get a build going on TeamCity 6.5.6 with a git repo with one submodule but getting "failed to start build." .gitmodules file: [submodule "src/shared-contracts"] path = src/shared-contracts url = gitolite@myserver:shared-contracts Stacktrace: Failed to start build: Server was not able to build correct patch, most likely due to VCS errors, will try again. jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to