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
0 answers

Detected package downgrade: System.Runtime from 4.3.1 to 4.3.0

.NET Core 2.2.0 TeamCity Professional 2019.1.2 (build 66342) build step .NET CLI dotnet restore error NU1605: Detected package downgrade: System.Runtime from 4.3.1 to 4.3.0. Reference the package directly from the project to select a different…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
4
votes
1 answer

How do I split up the settings.kts file for TeamCity's Kotlin Configuration?

I have a TeamCity settings.kts file where it consists of the Root Project and hence all subsequent sub project. Currently, it's one big massive file and I am trying to split up the KTS file based on projects. What's the best practice to split up the…
SamIAm
  • 2,241
  • 6
  • 32
  • 51
4
votes
2 answers

How to use branches with multiple projects and Teamcity

I'm looking for a best practice for the following situation: I have one bll/dal project, and tree UI projects that uses the bll/dal project. In the beginning we putted it all in one trunk folder on a SVN-repository. We are using userbranches, so…
bruno
  • 1,830
  • 2
  • 22
  • 36
4
votes
2 answers

How to work with dynamic parameters in TeamCity?

I am working on integration of BitBucket, TeamCity and SonarQube. My scenario is as follows: A developer starts a new PR or changes an existing one; TeamCity starts building the PR automatically; TeamCity posts the analysis results to SonarQube via…
neshkeev
  • 6,280
  • 3
  • 26
  • 47
4
votes
2 answers

why does API call not working in teamcity

I created a powershell script to call rest API. In powershell script I am calling post, get and put methods. script works fine in my machine and also works if I run powershell script directly on build agent machine. But if I create a build step in…
Anil
  • 1,669
  • 5
  • 19
  • 44
4
votes
2 answers

TeamCity build notifier application for Linux?

Background I use TeamCity for my continuous integration server. As part of my development environment, I like to have a build notification application running so that I am immediately aware of when a build broke. TeamCity ships with several…
Zach Burlingame
  • 13,476
  • 14
  • 56
  • 65
4
votes
2 answers

Can a TeamCity build agent be configured to only run builds with a particular parameter dependency?

I have a TeamCity build agent installed on a machine which in theory is dedicated to running dynamic security scans and I don't want it doing anything else (i.e. running the duplicates finder). Short of either creating custom agent configuration…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
4
votes
0 answers

Best practice for running tests in solution that contains .NET Core Tests + .NET Framework tests?

We have a large .NET solution which now contains a mix of .NET core + .NET Framework + .NET standard projects + Test projects. All use NUnit. I am attempting to configure our CI pipeline (TeamCity) to run all the tests in the solution (a mix of .NET…
AndyNZ
  • 2,131
  • 4
  • 24
  • 27
4
votes
1 answer

Delete TeamCity Build Logs

A TeamCity job is currently failing because there is insufficient space on the disk. Via Administration => Disk usage, I found out that there are an exorbitant amount of build logs: I have tried cleaning up the build history via the TeamCity UI,…
4
votes
1 answer

Cake command DotNetCoreTool fails with "No executable found matching command" on build server

I'm trying to generate a DotNetCore AWS Lambda package on our build server using a Cake Build script: Task("PackageLambda") .Does(() => { var projectDirectory = System.IO.Path.Combine(baseDirectory, lambdaProject.BaseDirectory,…
brianfeucht
  • 774
  • 8
  • 21
4
votes
3 answers

Teamcity MSTest 10.0 no suitable build agents error

I'm simply trying to execute an MSTest project after my build but for some reason I'm getting unmet requirements that state system.MSTest.10.0 exists for my project. All I did was add a build step, selected Runner type MSTest, selected…
Brett Mathe
  • 6,429
  • 7
  • 23
  • 24
4
votes
3 answers

How do I get system property from teamcity in msbuild file?

How do I get system property from teamcity in msbuild file? teamcity version:6.0
yang-qu
  • 2,144
  • 4
  • 20
  • 26
4
votes
2 answers

Determining which trigger in TeamCity started my build

My build configuration has 2 triggers; Finish Build Trigger - Waits for a successfull build of another project VCS Trigger - Checks if certain files have been changed/updated I'm not entirely sure I have my VCS Trigger setup correctly but I…
r0bb077
  • 732
  • 2
  • 11
  • 33
4
votes
0 answers

Ivy artifactPattern with query string fails using Gradle

We are using TeamCity for an Ivy repo and trying to access a resource in our Gradle build using a specific branch. The way to do this in TeamCity is to use the branch= query string parameter and so we have this in our…
Mike Suiter
  • 1,461
  • 3
  • 10
  • 12
4
votes
1 answer

how to Run tests based on category in teamcity using mstest

I am using this setting to run vstest using mstest in teamcity Assemblies list : Z:\Test\Tests\bin\Debug\Test.dll /category:"abc Tests" Getting following error while running vstest using mstest in teamcity Illegal characters in path. at…
sam
  • 4,594
  • 12
  • 61
  • 111