Questions tagged [teamcity]

TeamCity from JetBrains is a continuous integration tool and a distributed Java-based build management system that can be highly beneficial to teams using an agile development approach.

TeamCity is a Java-based build management and continuous integration server from JetBrains. Comparable products are Bamboo, Jenkins (which is historically related to Hudson) and CruiseControl.

It was first released on October 2, 2006. TeamCity is commercial software and licensed under a proprietary license. A Freemium license for up to 20 build configurations and 3 free Build Agent licenses is available.


**Tagging recommendation:**
It is recommended to use the tag together with the version specific tag, f.e. , .
**Resources:**
6095 questions
4
votes
1 answer

Powershell script can't find module when run via -File param

I have a powershell script (.ps1) that I am telling TeamCity to run in order to deploy some applications. The problem is, when TeamCity executes the script, some Modules aren't available. Teamcity is invoking powershell from…
Michael
  • 1,535
  • 2
  • 17
  • 32
4
votes
2 answers

Team City Command Line Build Runner

In Team City, we are currently using a command line build runner. While it works just fine, we don't get any output shown in the Team City log. We essentially get a notification that the process started, and that the process exited with a…
Bryan Rowe
  • 9,185
  • 4
  • 26
  • 34
4
votes
3 answers

Maven Multi-Module Project, Not Resolving Dependencies

I have a multi-module maven project that I can't get to compile. I have a Nexus repository sitting on my local network, and it is working (IntelliJ Idea is able to resolve my dependencies which reside only in that repository), and I am building…
Brendon Dugan
  • 2,138
  • 7
  • 31
  • 65
4
votes
2 answers

TeamCity - Nuget package restore and RequireConsent

A TeamCity build fails. It is failing to update a NuGet package to a particular version, which is available on a feed actually provided by TeamCity itself. E:\TeamCity-BuildAgent\work\62023563850993a7\Web.nuget\nuget.targets(88, 9): Unable to find…
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
4
votes
1 answer

Teamcity failing to install packages via nuget

SOLVED - PLEASE SEE COMMENT I have a project on team city that is failing to install the required packages. This has has worked for over a year but this week all builds started failing. my development process is as follows: We use github and develop…
Andrew
  • 71
  • 1
  • 8
4
votes
1 answer

TeamCity Environment Variables

How do you access TeamCity environment variables through the post-build event window in visual studio? What type of evaluation can be done to make sure the build is happening on the build server and not locally where the environment variables do not…
Tim
  • 591
  • 5
  • 10
4
votes
2 answers

TeamCity Snapshot Dependency GitHub branch

I have a pipeline TeamCity 7.1 project with multiple configs. Config "MyBuild" builds a project for a VCS Root pointed at a GitHub repo with multiple branches and has Branch Specification = +:refs/heads/* Config "MyDeploy" deploys the package…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
4
votes
1 answer

How can I disable the Qualifier 'this.' is redundant rule in TeamCity Code Inspections?

I use Resharper's StyleCop integration when I am writing code to give me consistently styled code. I am using the full standard rule set. This leads to Resharper regularly reminding me about SA1101: Prefix local call with "this.": The call to XXX…
AlSki
  • 6,868
  • 1
  • 26
  • 39
4
votes
2 answers

Teamcity Seems to Corrupt Powershell Scripts

I have a powershell script that I am trying to run via teamcity. The script is stored in the git repo that the code is built from. I have set teamcity to run the script as a script file If I run the script from a powershell commandline on the build…
ilivewithian
  • 19,476
  • 19
  • 103
  • 165
4
votes
1 answer

Run a specified NUnit test as a 32-bit process in a 64-bit environment

I have a component that uses OLEDB to import data from an Excel file. Due to business risk and time constraints, my executable shell is compiled as x86 (32-bit) to avoid the 64-bit OLEDB problem and the component runs flawlessly when loaded into my…
Barracoder
  • 3,696
  • 2
  • 28
  • 31
4
votes
3 answers

TeamCity path to external reference assemblies

I have been working with setting up TeamCity, and I have almost everything working with the exception of being able to compile VS2005 solutions that have referenced assemblies that are outside of the solution path. I have our SVN repository…
Dave Nay
  • 549
  • 5
  • 23
4
votes
3 answers

How can I pass MSDeploy-style parameters to MSBuild via the commandline?

I am setting up TeamCity to deploy our Website Project application (using a *.wdproj) and Web Deploy application to IIS. I have a build configuration that uses MSBuild.exe with the MSDeployPublish to build and then deploy the application. We now…
Michael12345
  • 2,520
  • 5
  • 23
  • 41
4
votes
2 answers

Why does this dotCover rake task fail using these relative file paths?

I'm having some issues getting dotCover to work in an Albacore exec task using relative paths. @xUnitRunnerPath = Pathname.new('../../Tools/xUnit/xunitcontrib-dotcover.2.0/xunit.runner.utility.dll').realpath @myTestDll =…
Neil
  • 5,179
  • 8
  • 48
  • 87
4
votes
3 answers

TeamCity, invoking the TeamCity NUnit launcher from the command line

I'm trying to split up some rather lengthy unit test executions across multiple build agents with TeamCity, so I removed the unit test part of the build step (using Visual Studio 2008, sln2008 build runner) in TeamCity and trying to set up separate…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
4
votes
1 answer

How do I configure TeamCity build agents to use git and the git:// protocol over a SOCKS proxy?

I'm trying to setup our TeamCity build agent in a production datacenter with a stricter network. How do I configure the build agents to use git (client-side checkouts) over a SOCKS proxy? TeamCity (as of 6.5) doesn't support authenticated https…
jaxzin
  • 13,471
  • 4
  • 19
  • 19