6,076 questions
2
votes
0
answers
309
views
TeamCity Rest API Flaky test [closed]
I am looking to retrieve a list of flaky tests and details from builds via TeamCity API. I don't have any leads. Please suggest better options to retrieve flaky tests from TeamCity.
-2
votes
1
answer
120
views
Getting inconsistent size of class object in pycharm debug shell and teamcity [duplicate]
I have already referred that sys.getsizeof returns size of string including it's own class size, so eventually If I am supposed to get the size of class itself I can actually get absolute size of any ...
0
votes
1
answer
136
views
minify teamcity log written by tests launched by gradle
I have a gradle build step in a teamcity configuration which does build test.
There are a lot of text being logged by the tests. More than a gigabyte.
Is it possible to filter test output out of the ...
1
vote
1
answer
650
views
Git Author Identity Unknown on Teamcity Docker Build
I am moving my Teamcity build to docker container but it fails during commit, with author identity unknown error, adding git username and email with git config in Dockerfile is blocked via Xray policy....
0
votes
1
answer
694
views
Can you specify a deployment target with Octopus Deploy API
I am trying to use Octopus Deploy Deployment API and i ran into a problem where the deployment runs on all deployment targets, is there a way to specify the deployment target i would like to run the ...
1
vote
0
answers
344
views
TeamCity doesn't release file locks after a cancelled build
We are using an Enterprise version of TeamCity 2017. We experience an issue that is reproduced like this:
Start a build
Immediately cancel it
Start a build
at this point, an exception in TeamCity ...
0
votes
2
answers
273
views
TeamCity CI integration between local projects
I have two projects A,B with their own build chains defined in their local .teamcity folders. In addition, A contains a dependency on B which I want to test. How do I set up a build chain that ...
0
votes
1
answer
264
views
Teamcity Shared Library and Stash/Unstash Like Jenkins
I am currently a jenkins user and is exploring the Teamcity.
In jenkins we have a concept of shared libraries, which basically extends a generic groovy code into different jenkins pipeline and avoid ...
0
votes
1
answer
60
views
Teamcity nugets with .net 5.0 not showing up in Visual Studio
I am building an assembly based on .NET 5.0, and I am publishing it as a nuget package, to be used in other projects.
It is built with Teamcity on premises, and published here, too:
When I try to use ...
0
votes
1
answer
2k
views
How do I set a secret value with build script interaction on team city?
I know I can define a secret value like this in kotlin DSL on teamcity:
params {
password(
"env.MY_SECRET_VALUE",
"credentialsJSON:faf2d7c8-3565-452a-8cfe-a7a55a4f0f4c", ...
1
vote
0
answers
234
views
Run Multiple dotnet versions on Teamcity on Prem
I'm using Teamcity on premise for building dotnet project with dotnet core 3.1. Since we have multiple projects, we are using 3 agents for these build.
These days we are planning to migrate our ...
2
votes
1
answer
835
views
TeamCity API method to get Slack notification info
Im trying to list my TeamCity builds in my own site with the TeamCity API to create dashboard. One feature I need is to notify the right person. To do so I set in the build setting the right Slack ...
1
vote
0
answers
713
views
TeamCity Build Failed: Error: Cannot find module
My react app build is getting failed suddenly in Team City, I've no idea why it is happening. I can build successfully in my local.
Getting the below error in Team City
[Step 1/5] internal/modules/cjs/...
2
votes
1
answer
961
views
Teamcity REST API issue in with POST method
I am trying to create a TeamCity project from .NET Core. I have written the code below but when I am trying to run the code I get an error.
Code:
public void CreateProject(string name, string ...
0
votes
1
answer
2k
views
maven plugin jacoco: Coverage checks have not been met. See log for details
I understand that if we set
<jacoco.skip.exec>true</jacoco.skip.exec>
in pom.xml, it might skip the skip the jacoco checking. However, in my case the tests are conducted on TeamCity, on ...
0
votes
1
answer
684
views
TeamCity / Bitbucket Server pull request with multiple VCS roots
I am using TeamCity Enterprise 2021.2 (build 99542) and Bitbucket Server v7.14.0. I have a build configuration in Teamcity with 3 VCS roots: Repo1, Repo2, and Repo3. Each repo has a "main" ...
0
votes
1
answer
212
views
Sign in to GitLab CE repository in TeamCity
When try get access from TeamCity on page VSC Roots to Gitlab CE repositorys get an error message:
Empty error response from https://gitlab.prod.com/oauth/token, status code: 504 (...
3
votes
0
answers
740
views
Python Test coverage in teamcity
I want to setup python test coverage report in TeamCity Professional 2021.2.3. I am using python coverage module which i have installed in my conda environment. My testsuit contains mostly pytests and ...
1
vote
1
answer
1k
views
Authentication token option is not there under install agents option
I have tried to create agent so to achieve this task , I have clicked on build agent full.zip and configure it. However I am not finding the authentication token option to proceed further. Please ...
4
votes
4
answers
2k
views
Is there a way to cancel all builds from queue?
I can't find a UI way in TeamCity to clear all queued builds in bulk.
One by one is possible, but sometimes triggers/dependencies hit the fan and you end-up with tens of unwanted builds.
REST API is ...
1
vote
2
answers
1k
views
How to integrate Gitversion
I would like to integrate an automated versioning system in my ASP.NET project. For each release, it should have a version number based on the previous release. I am planning to integrate Gitversion ...
0
votes
1
answer
1k
views
How to install specified framework in Teamcity server as a build step
I have dotnet project built using dotnetcore v2.0 which was working fine in Teamcity pipeline.
I have updated the project to use dotnetcore v3.0 and re-run the Teamcity build.
now I am getting the ...
1
vote
0
answers
348
views
Get branch name in build step
I am using Teamcity to build docker builds and I want to use the git branch in build steps. I create a build within a project, I then create a build step in that build to do a docker push and I set ...
6
votes
1
answer
1k
views
ReSharper Inspections: Unknown tools version 17.0
While running the TeamCity ReSharper inspection command-line tools. There is an error "unknown tools version 17.0" with the following details.
Inspections (ReSharper)
Unknown tools version:...
1
vote
1
answer
906
views
TeamCity build number override from script
I have a problem with setting up the build number for the build from the script. I use the shell command in TeamCity build step:
echo "##teamcity[buildNumber '%build.counter%.%tp.environment%.%...