teamcity

Setting up Rails project on TeamCity hosted on a Windows server

為{幸葍}努か 提交于 2019-12-13 05:09:28
问题 I'm setting up my first Ruby project on Team City, which is hosted on a Windows Server, but I'm having a problem. Now, because the server may not have the required gems installed, I've added a command line build step: bundle install Now I thought this would be enough, but apparently bundle is not recognized as an internal or external command. Except, if I RDP into the server, if I run bundle install from anywhere, it is fine, and just notifies me that no gemfile was found. Any ideas on if I

Schedule trigger Build Fails on Team City

自闭症网瘾萝莉.ら 提交于 2019-12-13 02:57:18
问题 I have two triggers in Team City. VCS Trigger and Schedule trigger. VCS trigger works fine with every commit and builds successfully while schedule trigger's build fails and gives compilation error which was one in an earlier version of Checkin. Is it something that for this trigger team city is picking an earlier version of checkin not the latest one? Can we set it to pick latest version? Please Help!! Edit: Build Failure info Build failure reason Compilation error: Web\MySystems.Web.UI

Error code 1073741502 when running psexec through TeamCity

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 01:31:01
问题 I have a build step that needs to run a console application under a different (more privileged) user account. However PsExec always returns with the exit code -1073741502. I thought the issue was from my app but when I replace with the following it still fails: PsExec.exe -accepteula -u Username -p Password "cmd.exe" /C Or PsExec.exe -i -accepteula -u Username -p Password "cmd.exe" /C Note that TeamCity build agent runs under a user account created specifically for it. When I manually log in

TeamCity show changes from snapshot dependencies

江枫思渺然 提交于 2019-12-13 01:28:34
问题 I have a TeamCity build (A) that does only checkout and msbuild steps and provides it's binaries as output to three other builds. Build B is quick running tests, that take about 5 minutes, B uses A output through snapshot/artifactory dependencies. Output from A is also used in two other build task which are long running tests and installer creation. For now, when some tests in B fail, I don't see changes made to A from withing test job B (or c or D) which caused that fail. Is possible to

How can I specify another server to copy the build files onto?

若如初见. 提交于 2019-12-13 01:14:43
问题 I'm trying to create a MSBuild script for running in TeamCity. I have a problem when I want to copy the files generated by the Project Build to another server. I tried to map that server as X:\ but I got the error that it can't find that path. Can anybody help me? Thanks 回答1: Drive mappings can be problematic to use from build scripts. It would be better if you can use a network share. If not you may have to use a tool like MSDeploy. 回答2: Like David commented above, you need to run the

TeamCity - setParameter value available to Build Feature

孤人 提交于 2019-12-12 18:10:40
问题 I've a little PS script to write this TC integration command: ##teamcity[setParameter name='AssemblyVersionString' value='1.0.46.48' Which sets a Configuration Parameter which appears to run fine in the logs. The Configuration Parameter is defined at the project level and has a default value. Eventually I want to use the AssemblyInfoPatcher but for testing, I've added a Build Feature to tag the git repo but its tagging with the default value. Are changes during the build supposed to be

Update YouTrack state on issue from checkin comment in SVN

好久不见. 提交于 2019-12-12 17:26:48
问题 I've been trying to set issues to status "fixed" from my SVN commits, but it keeps on failing. This is what I've been trying as SVN comment: #TCSE-20 fixed and TCSE-20 fixed Where TCSE-20 of course is my issue id. I then run my build in TeamCity, which is linked to the YouTrack project. The comment gets recognized in YouTrack as it's added to the Comments tab. But the state remains as Submitted . What am I doing wrong? 回答1: The solution was what I was hinting in my comment. I am the

TeamCity fails to run iOS appium tests when auto-launched

此生再无相见时 提交于 2019-12-12 15:24:54
问题 Description We are using appium in our cucumber suite within TeamCity 8 on an Apple MacMini running Mavericks. The problem is that appium seems to fail to interact with the iOS Simulator when it is ran from TeamCity at login (via Automator). The only combination that I have found to work is to run the following from the Terminal in an interactive session: sh /Applications/buildagent/bin/agent.sh start What does not work? running agent.sh start from an ssh session creating a shell script with

Inconsistent test results when using dotCover

白昼怎懂夜的黑 提交于 2019-12-12 15:17:40
问题 I have some code with unit tests that pass in a Debug build but fail in a Release build which is correct. However, the same tests pass in both Debug and Release mode when run using JetBrains dotCover. To give a bit of background, here is the offending test code, just to give you in idea of why it's failing for a Release build - it's basically because of reduced stack information due to code optimization. using System.Diagnostics; using NUnit.Framework; namespace DotCoverTest { [TestFixture]

“Trigger on changes in snapshot dependencies” does not seem to work properly

狂风中的少年 提交于 2019-12-12 14:49:13
问题 I'm using TeamCity 6.5.1 with one project and about 10 build configurations. I have a dependency chain akin to Core -> Framework -> Apps. Framework has a dependency on Core, and the Apps depend on both Core and Framework. The issue I am having is that the framework/apps are not being triggered after the core has been triggered and built successfully. I have selected "Trigger on changes in snapshot dependencies" on the framework and all the apps, but none of them seem to trigger even though