Questions tagged [teamcity-9.0]

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 historicall related to Hudson) and Cruise Control.

Useful Links

320 questions
3
votes
1 answer

Nuget Pack slow performance

I have a setup where we package source code into nuget packages through Team City to be deployed through Octopus deploy. The size of the folder that is packaged is ~267MB. This process takes about 5-6 min just to package these files. The folder…
3
votes
0 answers

Can I access non-environment Team City parameters from a PowerShell script?

I want to access this parameter: %teamcity.tool.NuGet.CommandLine.DEFAULT.nupkg% It works fine when the parameter is used in a script that is manually entered into the PowerShell build step. However I am using script files (*.ps1) and I would like…
TinyRacoon
  • 4,655
  • 2
  • 23
  • 22
3
votes
2 answers

Running xUnit tests on Teamcity using async methods

I made the following xUnit test which is using a HttpClient to call a status api method on a webserver. [Fact] public void AmIAliveTest() { var server = TestServer.Create(); var httpClient = server.HttpClient; var response =…
3
votes
0 answers

Teamcity Git private Submodule checkout fails

TeamCity unable to checkout git projects with private git submodules (projects themselves are private and accessed with username/password and use same credentails for submodules), all source is stored on bitbucket and accessed over HTTPS. TeamCity…
Zippy42
  • 81
  • 7
3
votes
1 answer

Pass on branch name to a script in teamcity

I have a python script that runs as build step in teamcity 9.0. Now I need to know the branch name from which the build is triggered. I could use %teamcity.build.branch% to get the branch name. But I need it to be passed on to my script so that I…
3
votes
1 answer

GIT VCS not updating sources after Teamcity upgrade

I have recently upgraded to Teamcity 9 from 8. Ever since the upgrade, all of my GIT VCS are not updating sources. Build log show below but the checkout directory is empty. [04:33:49]Using vcs information from agent file:…
3
votes
1 answer

TeamCity 9 SQL Server setup timeouts

I'm trying to set up TeamCity 9 locally to a local SQL Server Instance and getting the following error. The connection to the host localhost, named instance (localdb)\v11.0 failed. Error: "java.net.SocketTimeoutException: Receive timed out".…
Will Lopez
  • 2,089
  • 3
  • 40
  • 64
3
votes
1 answer

Trigger a build in TeamCity whenever a tag is present in the commit

I am using TeamCity 9.01 as my CI server. I am currently using a VCS trigger which will trigger for a regular expression. But this regular expression in the commit message is making the look of work flow in source tree a little too clumsy. So I…
Nevin Raj Victor
  • 2,924
  • 3
  • 23
  • 37
3
votes
1 answer

How to configure TeamCity for Perforce Streams with remote builds?

We've just upgraded to using TeamCity 9.0.1 and are looking to move towards Perforce Streams. We have a sample depot called //Project containing streams for //Project/Main //Project/Sprint1 //Project/Sprint2 I would like to be able to configure…
infojolt
  • 5,244
  • 3
  • 40
  • 82
2
votes
0 answers

How to substitute environment variable in TeamCity docker compose build?

I am trying Teamcity on-premise solution using docker-compose. I have a project which needs a docker compose runner type. Here is the docker compose override yaml file: version: '3' services: nextjs: build: context: ./frontend …
Maverick
  • 2,738
  • 24
  • 91
  • 157
2
votes
0 answers

TeamCity - Get Build Server Log | Currently Build

I am using TeamCity build server for my CI process. I have a scenario, where i need to compare my previous and current build log and check for warnings in the code ad if the warnings count in the current is greater than the previous build, we have…
Sunil
  • 553
  • 1
  • 12
  • 30
2
votes
0 answers

TeamCity: retry trigger's retry number

I am using TeamCity's retry trigger to rebuild my target if initial cron trigger has failed. However I would like to know exact retry number in the target. Is it possible to do ? Seems there is no way to provide this number from teamcity…
libxelar.so
  • 473
  • 4
  • 16
2
votes
2 answers

error CS0234: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?

I am using Visual Studio 2015 professional edition to run some test cases on my local machine. I am able to build the solution & run test cases locally. When I build my application on TeamCity server (build agent is also hosted on team city…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
2
votes
0 answers

React-Native Xcode build on TeamCity very slow > 20 mins

We have setup our React-Native project for CI with TeamCity. The builds were really fast taking about 3-4 mins. All of a sudden the build time increased to > 20 mins. Not able to figure out what the issue is. Any help is greatly appreciated. Here is…
2
votes
2 answers

Artifact Dependencies not resolving

I have a teamcity job that publishes a single file as an artifact (this is the simplest configuration i could find that reproduces this issue) I have another job that has this job as a snapshot dependency and an artifact dependency The second job…
jaywayco
  • 5,846
  • 6
  • 25
  • 40