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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
6 views

Correct increment: "" to use in master and main

With the given GitVersion.yml. The stable is not getting incremented when merged from release/hotfix. Any recommendations / suggestions? mode: ContinuousDelivery branches: master: regex: main mode: ...
Codeshouldwork's user avatar
0 votes
0 answers
11 views

TeamCity: choose specific commit based on selected tag

I have a git repository where released versions (e.g. "3.0.1") are marked as tags. I need to add a parameter for TeamCity task (ideally with dropdown list) where I can choose specific tag — ...
zlib's user avatar
  • 300
0 votes
0 answers
15 views

Teamcity. How to force the browser to view an artifact, instead of download it?

I want to be able to click on the link in a TeamCity build log which opens an artifact's log, but I can only get one of them to open in browser window. The other one downloads the log. Can anyone tell ...
Peter Moore's user avatar
  • 1,757
2 votes
1 answer
31 views

TeamCity trigger build first time and on changed code

In order to limit the number of (very long) builds in TeanCity I need to configure a run to trigger build on the first branch commit and if some files in the code were changed. I did find the option ...
ilya1725's user avatar
  • 4,706
0 votes
0 answers
10 views

TeamCity - Filter the Change Log to see only changes not yet built

We are using TeamCity 2023.05. I have a project with a number of sub-projects. All sub-projects are in github, each with a VCS Root being the default branch. When I click on the project then the ...
biscuit314's user avatar
  • 2,394
0 votes
0 answers
19 views

Teamcity Failed to perform checkout on agent

I have azure repos to teamcity using SSH key based authentiation and connection is successful at VCS root. when i ran build pipeine getting below error, could any one please help me here [Updating ...
Hemanth Kanduri's user avatar
-1 votes
0 answers
10 views

How to launch arbitrary amount of Teamcity agents?

I have my worker configuration that would build my APKs in a for loop, but it takes some time to build them all sequentially. I need to split my apk generation to different agents, but it should be ...
ildar ishalin's user avatar
0 votes
0 answers
14 views

Facing issue in Teamcity connect ECONNREFUSED "127.0.0.1:37117

Facing issue in Teamcity connect ECONNREFUSED "127.0.0.1:37117 While Trying to run the scripts in teamcity not able to trigger the build please can someone suggest any solution or what can I do ...
divya ranawat's user avatar
0 votes
0 answers
29 views

Where does TeamCity's build agent look for the .NET Core SDK / Mono?

I'm having trouble configuring my build agents for TeamCity. It appears that the agent (I'm running with the image provided by Jetbrains) doesn't see the .NET Core installation on my host machine, nor ...
Grant Sanders's user avatar
0 votes
0 answers
15 views

Why TeamCoty build fails? sh: 1: eslint.js: not found

My logs show Build problem Step 2/7: Node.js 11:50:49 Docker wrapper: setting permissions for '/mnt/agent/temp/buildTmp' and '/mnt/agent/work/3198f31b395ddd96' to 1777 11:50:49 Running step ...
Richard Rublev's user avatar
0 votes
0 answers
8 views

TeamCity build: Module A depends on Module B, but failed to pick up the change in Module B

I have two modules in my project, module A depends on module B, more specifically, A depends on a domain class in B. Now I added a new property to the said domain class in module B, as well as its ...
J.E.Y's user avatar
  • 1,165
0 votes
0 answers
14 views

Teamcity. Conditional builds trigger

I have two builds on Teamcity and these two builds are running on different build agents. Does anybody know how to set up the following configuration: Build B has to start only if build A has a ...
User Name's user avatar
0 votes
0 answers
13 views

create a build artifact into TeamCity using the REST API

How can I add a new build artifact (a large log file in my case) to a (currently running) build using TeamCity's REST API? My usecase: After TeamCity sucessfuly builds my code, it is sent to an ...
Simon's user avatar
  • 268
0 votes
1 answer
82 views

TeamCity Build - MSB3644: The reference assemblies for .NETFramework,Version=v7.0 were not found

I have a TeamCity Build Config that I have updated from the "Microsoft Visual Studio solution (.sln) runner" to use a ".Net Runner" msbuild command to build my API solution. ...
tadhg88's user avatar
0 votes
0 answers
8 views

How to get the path to an artifact in TeamCity?

I have my own script that takes an artifact from the build machine and sends it to a channel. I just find an .apk file in a specific directory. Is there a way to get the artifact path or just name ...
Svyatoslav Volkov's user avatar
0 votes
1 answer
18 views

Is it possible to run IntelliJ IDEA Inspections on TeamCity on several agents in parallel?

Running IntelliJ IDEA inspections on TeamCity takes too long for my project. For tests (e.g. JUnit), TeamCity can split tests into batches which are run on multiple agents in parallel. As far as I can ...
andrybak's user avatar
  • 2,184
0 votes
0 answers
35 views

Docker container connecting to localhost instead of the specified hostname in SERVER_URL environment variable

I'm encountering an issue with my Docker container setup. I've created a TeamCity server and agent, with the server created using the following commands: docker network create teamcity docker run --...
desertSniper87's user avatar
4 votes
0 answers
210 views

Gradle 8: Unable to make progress running work. There are items queued for execution but none of them can be started

In my Selenium-JAVA-Gradle based automated test project running in CI: Teamcity server, recently we updated the JAVA and Gradle version. The tests run good without any error locally but the build in ...
mahadi hasan's user avatar
0 votes
0 answers
16 views

Calculating average build duration in Teamcity for failure condition improvements

Nice to have following functions for failure condition in TeamCity. But, I would like to have the average building time for each project or each submodule to be able to use it as a threshold value. I ...
CeydaAkb's user avatar
0 votes
0 answers
21 views

Namespace / class filtering for TestCafe tests in TeamCity

I would like to be able to filter the tests in the test tab by the namespace and class as i can do with the suite. The test case name follows the teamcity test name format with the suite:namespace....
user20473461's user avatar
1 vote
0 answers
21 views

How to fetch the branch and the build number directly from TeamCity?

I have a very large project that has lots of branches and multiple builds that are built continously. What I want is to run my automation tests written in Go such that they first fetch the build ...
Zubeen's user avatar
  • 11
0 votes
1 answer
74 views

All "EnsureNuGetPackageBuildImports" target steps added by various nuget package reference in Visual Studio 2017 .sln cause build error in TeamCity

Solution build failing in TeamCity for a project that references nuget packages that add condition entries to the .csproj file for various .targets and .props files. Works in Visual Studio without ...
Jeremy F's user avatar
  • 427
1 vote
1 answer
145 views

Python Virtual Environment on TeamCity agent

I'm facing an issue on TeamCity where I have a build agent with Python 3.8 installed, and I need to run Python scripts that require newer version of Python. Unfortunately, I cannot update Python from ...
Riklia's user avatar
  • 13
0 votes
0 answers
16 views

Teamcity build canceling infinitely only visually

When I cancel a running build, the build stops and cancels but visually the build is still cancelling and this never stop. ¿Why I know that the build is cancelled? Because I can run another build ...
Cabello's user avatar
0 votes
0 answers
18 views

How to not trigger dependent builds of a scheduled build on teamcity when the last dependent build is green?

I have two build configurations: val buildA = BuildA() buildType(buildA) val buildB = BuildB() buildB.dependencies { snapshot(buildA) { onDependencyFailure = FailureAction.CANCEL ...
Laurent Michel's user avatar
0 votes
0 answers
19 views

how to make teamcity display txt files in browser instad of download

In teamcity version (2021), any text links would open in the browser which was good because you could save logs as txt artifacts and link to them. Now with the latest update of teamcity (2023), any ...
Peter Moore's user avatar
  • 1,757
3 votes
1 answer
119 views

How to build a sub-module in IntelliJ's TeamCity via Maven?

I have a parent project which contains several sub modules created with Maven. I need to run the sub modules one by one and then last one is report generator module in team city using Maven. How to do ...
nicholas's user avatar
  • 2,613
0 votes
1 answer
38 views

Kotlin/TeamCity environment variable to uppercase

I want to pass the value stored in "%env.VAR%" to other variable in uppercase. But I'm getting %ENV.VAR% as result. Tried: # "%env.VAR%" = something val var_1 = "%env.VAR%&...
kendallbp's user avatar
0 votes
0 answers
19 views

Can a buildType be referenced in multiple subprojects in TeamCity Kotlin DSL?

Is there a way to have, in a project, a buildType referenced in two separate subprojects? That is, have buildType A registered in subproject B and also appearing in subproject C? Perhaps something ...
StellarJay's user avatar
0 votes
1 answer
30 views

TeamCity CommandLine batfile BuildStep has an issue with passed in env parameter

My commandline buildstep does not execute, because apparently the passed in parameter does not get accepted. I found the info that in order to pass variables into an bat file like this they need to be ...
bts_slawa's user avatar
0 votes
0 answers
81 views

How to get TeamCity + XUnit + Coverlet to work?

I am posting this after 2 days of trying various solutions that didn't work for me. This is mostly for my future reference, but I hope others can benefit as well. I used this source as the basis for ...
Bitfiddler's user avatar
  • 3,982
0 votes
1 answer
30 views

TeamCity test id not available in API?

In the TeamCity UI, when I look at the test history, I have the following URL: https://teamcity.mydomain.com/test/7020533983586526163?currentProjectId=MyProject_Blah Where can I find this id (...
user10788336's user avatar
0 votes
0 answers
32 views

Trigger PowerShell from TeamCity to create excel

I am using TeamCity to trigger a PowerShell script located on the TeamCity build agent. The script gets triggered but the excel creation code doesn't work. I have tried using x86 vs 64 bit PowerShell ...
Alvin's user avatar
  • 292
2 votes
1 answer
18 views

Is there an option to make TeamCity clone a Mercurial repository with minimal processing instead of init/pull?

We have an old TeamCity server that uses an old Kallithea on Windows. One of our projects has become relatively big and now only clonable with "--stream" option. Without it the "remote ...
The incredible Jan's user avatar
0 votes
1 answer
29 views

Skip building Draft merge requests in TeamCity for Gitlab

I have a TeamCity instance and a Gitlab instance hooked up to it. Right now TC is configured to trigger on a merge request change. Where can I configure TC to bypass merge requests marked as draft? I ...
Kamil's user avatar
  • 1
0 votes
1 answer
28 views

Teamcity auto build dynamic named branch

Currently having issues with team city build triggers on release branches. Following gitflow convention we currently branch off develop and create a release branch, e.g release/1.0.0 What I am trying ...
jaymarvels's user avatar
0 votes
0 answers
44 views

How can I show a coverage report generated in TeamCity in GitLlab repository page?

I have a Python project hosted on GitLab. I also use TeamCity for CI/CD. I have written some tests for my project and I want to show the coverage report in the repository's page in GitLab. Currently ...
jon doe's user avatar
  • 492
3 votes
0 answers
103 views

TeamCity dotnet test: MSBUILD : error MSB1021: Cannot create an instance of the logger. The given assembly name was invalid

Since the xUnit TeamCity plugin does not seem to work with .NET core I am trying to run my .NET 7 tests on TeamCity build server with the .NET runner via docker. However, I get following error when ...
Sam's user avatar
  • 819
0 votes
0 answers
45 views

Trigger a TeamCity build after a pull request completes

Our current setup is to have a build triggered by pull request which will publish the output to a network location for testing. Once testing is completed then the pull request is accepted and merged ...
Cody Harness's user avatar
  • 1,116
1 vote
1 answer
90 views

'Build with Parameters' in TeamCity

I'm migrating a Jenkins CI job to TeamCity, and cannot find an equivalent to the 'Build with Parameters' of Jenkins in TeamCity. I've built my pipeline as follows: There is a BuildType called ...
idanz's user avatar
  • 849
1 vote
1 answer
42 views

How to diagnose TeamCity / HSQLDB error [S1000][-25] ".data file is modified but .backup file does not exist

We are using a third party tool (TeamCity) that suddenly stopped working and shows a DB key/index type of error in their log files like this: However, we are unable to simply connect to the HSQLDB ...
crokusek's user avatar
  • 5,387
0 votes
1 answer
65 views

Teamcity when updating from MySQL 5.7 to 8 we get query_cache_size error

When we updated our TeamCity RDS/Database from MySQL 5.7 to 8 on reboot we got the error jetbrains.buildServer.STARTUP - Unexpected exception: SQL error when doing 'Taking a connection from the data ...
mRyan's user avatar
  • 352
0 votes
0 answers
37 views

TeamCity trigger build with many VCS roots on merge request but with merge request code coming only from one repo

I'm using TeamCity 2019.2 with Gitlab and I have set up already a build which can be triggered whenever there is a merge request created. So my build uses 4 vcs roots and I've found when there is an ...
Adam Kiryluk's user avatar
0 votes
0 answers
10 views

Automating files in TeamCity

What is the best way to automate commit mdf/ldf files to version control in TeamCity? As of right now, we cannot see an automation. We have searched everywhere and can't find a way. I don't really ...
ERB's user avatar
  • 1
0 votes
0 answers
39 views

Any Code scanning tool for Xquery language

Is there any Code scanning tool available for XQuery language which can be integrated with teamcity. We are currently using Checkmarx but it do not support XQuery language.
Dixit Singla's user avatar
  • 2,560
0 votes
0 answers
29 views

Team City > Selenium > Browser Size

I have teamcity running several hundred selenium tests. Due to some recent UI changes when I run our framework, most of the tests fail. I have figured out it's because due to a resizing change in our ...
agleno's user avatar
  • 418
0 votes
0 answers
27 views

TeamCity: How to checkout second VCS without monitoring changes

Is there a way to add a secondary VCS to a TeamCity On-Premise build configuration, so the git repo is cloned but changes in it are not tracked as part of the build? I have a unit test build config ...
ndtrek07's user avatar
  • 499
0 votes
0 answers
25 views

How Can I configure Category parameters in TeamCity to run against specific category mentioned in my project

I'm trying to run tests by defining category as cat==Test1 in Parameters | Configure parameters | Test.NunitFilterCategory in TeamCity. But after running this build it runs all the tests. In my class ...
Samy K's user avatar
  • 1
0 votes
0 answers
30 views

Restart build based on specific failure

I have a CI/CD build that needs to compile some code using a licensed compiler. Sometimes there aren't enough licenses to go around and the compiler fails. Is there a way to detect this error in the ...
ilya1725's user avatar
  • 4,706
0 votes
0 answers
13 views

Why is TeamCity having issues with building Microsoft.Estensions.Hosting.WindowsServices?

I'm trying to run a build on TeamCity where I've increased the version of the package Microsoft.Estensions.Hosting.WindowsServices from 6.0.1 to 7.0.1. Nuget says that this is compatible with .NET 6, ...
sr28's user avatar
  • 4,808

1
2 3 4 5
122