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.
5,969
questions
0
votes
0
answers
11
views
Git problems with Maven runner: release:prepare with Docker wrapper
During the release:prepare step I'm encountering a problem with committing to git. I'm using the Maven runner with the goal: release:prepare.
As show in the attached screenshot, I'm using a Maven ...
0
votes
1
answer
23
views
TeamCity VCS issue
We have an old version of TeamCity 9.0.2 (build 32195) that is running a build with a VCS root that has a fetch URL hosted in Azure DevOps. Without making changes we started seeing the following error ...
0
votes
0
answers
7
views
VCS trigger filter on pull request
+:test/pull/*
I have added above command to trigger publish PRs only from test branch. But it doesn't work.Any suggestions would be appreciated?
0
votes
0
answers
19
views
TeamCity failing for .Net 5.0 console application when Platfrom=x86 (apphost.exe missing...)
I am trying to upgrade a .Net 4.7 TeamCity build to .Net 5.0 and I running into the following issue when the following Command Line Parameter is defined:
/p:Platform="x86"
"F:\...
0
votes
0
answers
54
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
0
answers
19
views
Updating template from child build configuration in TeamCity
So imagine I have a template that is used 5 times(in 5 different environments). I've then realised I need to make changes to this template. The way I would like to:
Make a change to one of the child ...
2
votes
0
answers
32
views
TeamCity seems to believe the mysql driver isn't there during an update [ No suitable JDBC driver found]
My TeamCity is down because of an update downloaded and initiated From TeamCity UI because it cannot find a suitable jdbc driver for MySQL.
we are using:
TeamCity v2022.04 (build 108502)
Mysql mysql ...
0
votes
0
answers
14
views
Gradle task run multiple suites from TeamCity
I am using Gradle with TestNG, and I have something like this in the build.gradle file:
def suite1 = project.hasProperty("suite1")
def suite2 = project.hasProperty("suite2")
etc.......
0
votes
1
answer
32
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" ...
1
vote
0
answers
14
views
Python with unit-tests in teamcity
I like to run unit-tests during Teamcity build. I configure this step in the build like pytest with arguments test/unit/*.py. During this run I have "ModuleNotFoundError" for a module that I ...
0
votes
0
answers
25
views
Sign in to gitlab repository in TeamCity
TeamCity server and GitLab CE Server on other VM.
Problem:
**Can't authenticate and get access to GitlabCE repository through TeamCity to select available repositories on page VSC Roots. **
I got the ...
0
votes
0
answers
8
views
I am getting this "Length cannot be less than 0 error" in TC. It is not able to print output files/report.Similar command in local is working fine
enter image description hereLength Parameter error
I am getting this "Length cannot be less than 0 error" in TC. It is not able to print output files/report.Similar command in local is ...
-1
votes
0
answers
8
views
While running build on Teamcity getting below error base dir does not exist
java.lang.IllegalStateException basedir does not exist.
While packaging the application using maven
0
votes
0
answers
7
views
Agent dependencies to run SPFx & PNP scripts
Please let me know what are the software's/modules required and installed in the agent to execute the builds in azure devops & teamcity
Will Azure DevOps MS agent will take care of PNP & ...
0
votes
0
answers
16
views
TeamCity VCS Trigger not working as expected
I'd like to trigger 3 different builds based on file changes in my GitHub repository. All the 3 build configurations monitor 1 specific folder for file changes and they should only be triggered, when ...
0
votes
0
answers
8
views
TeamCity - run all unit tests - maven
I am very new to TeamCity and I was asked to upgrade JUnit to the newest version in our project. During my upgrade I had to update some tests, because JUnit API has changed. Now I would like to run ...
0
votes
0
answers
20
views
Access Teamcity to Gitlab repository (Fetch URL)
Please tell me why TeamCity does not provide any successful authentication methods to the GitLab CE repository other than to specify ssh key when filling the VCS Root fields in Build Configurations. ...
0
votes
0
answers
9
views
Teamcity execute scripts from file located inside code repository
I would like to be able to run some scripts that would deploy my projects with some pre-defined parameters or perform some other arbitrary tasks. I'm thinking of using Teamcity pipelines for the same ...
2
votes
0
answers
29
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 ...
0
votes
1
answer
45
views
Run Process keyword doesn't run the .exe file on Team city
My robot framework test contains part, where I run .exe file. I am using Run process keyword from Process library.
${result} Run Process path_to_the_file/file.exe cwd=path_to_the_file/
When ...
0
votes
2
answers
18
views
Different results resharper in VS and resharper CLT
My respects. Colleagues, the subject has been raised, but no answer has been found.
The results of the error check using VisualStudio 2022 plugin resharper version 2021.3.4 and resharper in CLT 2021.3....
0
votes
0
answers
12
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 ...
0
votes
0
answers
5
views
Access key process in Teamcity
I want to enable below authentication method options from VCS edit area.
Those options are grade out, Please find the below screenshot.
0
votes
0
answers
44
views
How to fix requests.get() failure on gitlab rest api?
I am using python reqests.get() to invoke one of gitlab api's in my Python script running on Windows. It works fine on my dev machine, but it fails with below error message when I run the script in ...
0
votes
1
answer
64
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 ...
0
votes
0
answers
25
views
How can I display log output from junit to teamcity log
I am writing tests using junit to run in TeamCity pipeline. For logging I am using org.apache.log4j.Logger.info(), but I cannot find the log in TeamCity build log. It works without any problem in ...
1
vote
1
answer
50
views
Teamcity build to fail if number of failed tests is more than N% of total tests
Is that possible to configure a Teamcity build to fail if number of failed tests is more than N% of the passed tests in this build?
I've only discovered an option to fail based on a metric comparing ...
1
vote
2
answers
48
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
11
views
How to enable upload key option in teamcity
How to enable upload key option in teamcity?
and also to use that from bitbucket
0
votes
1
answer
31
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 ...
0
votes
1
answer
40
views
TeamCity: revert overriden steps
Situation: we have a set of build configurations based on the same build template. So, all the configs are marked as "based on MySuperTemplate" and all build steps are marked as (inherited). ...
0
votes
0
answers
20
views
Using release pipeline in SharePoint using teamcity
I have created the build pipeline using which I could create a SharePoint lists by executing powershell script in teamcity, However now I want to create release pipeline for this, is it possible to ...
0
votes
0
answers
16
views
PNP Module issue when I run the build in teamcity
I have development server where Bitbucket and team city is in place
When I run the PowerShell script below one line, it is successfully connecting
Below is the commandlet:
connect-pnponline -url "...
0
votes
0
answers
47
views
Exception Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' dont have implementation.(System.TypeLoadException)
[34;1m Exception Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' from assembly 'Microsoft.Extensions.DependencyInjection, Version=3.1.14.0, Culture=neutral, ...
0
votes
0
answers
28
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 ...
0
votes
0
answers
7
views
How to manage displayed count of tested branches on the Project (main) page in TeamCity
Good day!
I have two progects on TeamCity and can't figure out why there is only one tested brach in first project and why there are so much tested branches.
The only thing i've found is Active ...
0
votes
0
answers
28
views
NX CLI issues with Teamcity
Since the nx/cli update i faced an issue with the output i can see in the build log in teamcity. We have a lot of e2e tests and before we saw several logs between start and end. But now the block for ...
0
votes
0
answers
28
views
Move build project from AWS code pipeline to TeamCity
CICD is happening in AWS code pipeline (via jenkins) and there are many project and i want to move all those project into TeamCity CI. How can i do? Kindly suggest me.
Code is building through AWS ...
2
votes
1
answer
148
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:...
0
votes
0
answers
25
views
TeamCity First nuget build
I try to do my first build with nuget and it doesn't allow me, these are my build steps:
build steps
I click on Run, and says: " No enabled compatible agents for this build configuration.
Please ...
0
votes
0
answers
70
views
TeamCity C# build failed most likely because of nuget restore issue
I am trying to set up a new TeamCity build job and am facing a build issue.
The build failed because of missing references within ResolveProjectReferences step.
For instance :
JSonTools\JSonHelper.cs(...
0
votes
1
answer
40
views
How to enable "use settings from VCS" option for Versioned Settings in Team City?
I am trying to achieve behavior as many other CICD tools do: the configuration of the build to be used from the current branch which triggered the build.
Currently it is not clear how to enable and ...
0
votes
1
answer
27
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%.%...
0
votes
1
answer
27
views
TeamCity - New lines in setParameter
I am trying to use setParameter in a PowerShell step to set a parameter that must be newline separated.
I am using a command similar to this:
Write-Host "##teamcity[setParameter name='name' value=...
0
votes
0
answers
40
views
TeamCity Build Error "Microsoft.WebApplication.targets was not found"
So I was updating ASP.Net codebase from the target framework of 4.5 to 4.8 because Visual Studios complains that 4.5 is no longer supported. It builds locally; however, this broke the TeamCity build. ...
0
votes
0
answers
11
views
how to select the branch using teamcity API
I am trying to run a teamcity pipeline through the api, but I do not know how to send in the body the stream I want to sync to, should it be sent inside properties or inside changes tag, if so what ...
1
vote
0
answers
44
views
Duplicate finder (Resharper) stackoverflow exception / Process is terminated due to StackOverflowException
When I try to run a duplicate finder (Resharper), I am getting an error process terminated due to StackOverflow exception
StackOverflow Exception
0
votes
0
answers
53
views
By using the Sikuli Screen class, the maven surefire plugin exception is thrown when running the test from TeamCity
When I run a test with Sikuli Screen class on a local machine or from a local machine into a remote server, the test runs without error, but when I run the same test from CI (TeamCity), I get this ...
0
votes
1
answer
21
views
Dependency issue when migrating Teamcity build server
I'm migrating a Teamcity server from one VM to another as we're closing the office where the current VM is hosted, I'm doing this by rebuilding the server rather than migrating the VM as there's a ...
0
votes
0
answers
34
views
How to increase the memory of the TFS TEAMCITY process
We are running Teamcity connected to TFS. On our Teamcity server there are two Java processes one for running Teamcity and one for connecting to TFS. The Teamcity process, I am able to increase the ...