6,076 questions
3
votes
3
answers
6k
views
PyLint return non-zero code error only if errors are there
I am trying to run PyLint and need a setup where it only fails if the SEVERITY='ERROR' and also I still want to see and logs as in all severity level messages. I tried with --fail-on=E but it still ...
0
votes
1
answer
451
views
Configure TeamCity built-in authentication password complexity requirements
We are currently using built-in authentication for our TC server which means it is all managed by the TC server. It appears out of the box there is no password complexity, min length etc. required and ...
1
vote
0
answers
175
views
How to import xml of meta runner in Teamcity using kotlin DSL
we are using TeamCity 2022.04.4 and have the Kotlin DSL feature very new.
I try to migrate our data towards the Kotlin DSL using a new project and run into the problems with the meta runners.
I found ...
0
votes
1
answer
474
views
In TeamCity, how can I check if the previous build failed?
I'm trying to notify users that the successful build fixed the previously broken build. I haven't found a simple way to check if the last build failed.
Is there a parameter / variable I can check as ...
4
votes
1
answer
1k
views
TeamCity Agent Permissions
I am adding another Agent to my TeamCity build pool.
This is the error message I get when the Agent gets assigned to build a project
Agent failed to create build temp directory at /home/switchbuild/...
0
votes
1
answer
99
views
How can we give Dynamic path for install App
Project : IOS app
Lang : C#
FW : NUnit Framework
AT : Appium
According to our framework, we are automating ios app using simulator, but we provided .app file path as hardcoded, nee to give Dynamic ...
0
votes
0
answers
350
views
VCS Problem : cannot open git-upload-pack
Using teamcity CI/CD, getting this error while configure the VCS using Azure DevOps repository.
tried using different username password for authentication and access token too no luck
0
votes
1
answer
454
views
How re rerun only failed test cases on teamCity, using nunit framework
I am facing an issue, I want to re run the failed test cases in TeamCity but I am not able to find solution for nunit framwork. Also, is there anything by which I can use [retry(2)] on my test script ...
1
vote
1
answer
1k
views
Teamcity Unmet requirements MSBuildTools17
I have an incompatible configurations on one of my builds. I don't khow to solve this, as MSBuild Tools 17 exist on my machine.
Unmet requirements: Exists=>MSBuildTools17.0_.+_Path exists
I have ...
2
votes
0
answers
170
views
Set default changes/revisions to TeamCity build configuration to the changes in the latest build from a snapshot dependency
I have a build chain in TeamCity that goes A -> B -> C. However, I'd like to also be able to run C without rerunning A and B (by default), even if there are changes available. I can check "...
2
votes
1
answer
312
views
How to ingest Prometheus logs from TeamCity into Cloudwatch?
TeamCity has Prometheus logs located at myServerURL/app/metrics. I want to use these metrics in CloudWatch. What are the best steps to take to do this?
I think I need to:
expose Prometheus metrics ...
0
votes
2
answers
352
views
How to run manual builds with a different default parameter value than automatically scheduled builds?
We have a TeamCity project that contains hundreds of build configurations. The project schedules them to run nightly. Often, developers will want to re-run some of these build configurations with ...
0
votes
0
answers
112
views
Is it possible to Configure NUnit test runner to exclude .NET Core projects?
I am in the process of migrating projects from .NET Framework to .NET Core. We have several hundred of them with lots of unit tests that are executed by the NUnit console runner. Recently, we ...
0
votes
1
answer
152
views
How to execute tests in TeamCity one by one
I have 17 tests executed in one job. 3-4 tests randomly fail each execution with a Timeout exception. It happens because they all are started at once and all don't get enough time/power to execute ...
1
vote
2
answers
2k
views
How to specify runtimeIdentifier and targetFramework values when using Nuget Restore in TeamCity
I have TeamCity setup to restore a project using MSBuild, specifying the runtimeIdentifier and targetFramework values required, and everything restores smoothly.
However when I try to configure the ...
0
votes
2
answers
675
views
How do I programmatically stop a teamcity build agent instance after current build?
On Teamcity, when I click an agent, I get the "Agent Summary", "Build History", "Compatible Configurations", etc. etc. I can also see the running build and the "...
0
votes
3
answers
540
views
Process the internal build log in step
I'd like to grep the build log to count the number of compiler warnings. Is it possible to run a command on the build log from this or previous step?
TeamCity Enterprise 2022.04.4 (build 108763)
4
votes
0
answers
10k
views
tar (child): lbzip2: Cannot exec: No such file or directory
I am getting the following error when my bash script executes tar -xf
[21:02:51][Step 2/2] tar (child): lbzip2: Cannot exec: No such file or directory
[21:02:51][Step 2/2] tar (child): Error is not ...
0
votes
0
answers
838
views
Migrate teamcity pipeline to gitlab
How to migrate a teamcity pipeline to gitlab?
I checked online and could only find integration related stuff.
Please advise
1
vote
1
answer
373
views
Using environment variables instead of reverse.dep to make builds "suitable"
Context:
We're running the free version of Teamcity to manage our projects. Some of those projects have dependencies between each others.
The problem
Some projects have chained Snapshot Dependencies, ...
1
vote
0
answers
282
views
TeamCity Rest API "Failed to initialize Spring Context" Error
I installed TC on my new pc but ı have some failures. I am getting Failed to "initialize Spring Context" Error after TC installation and TC WebUI is not working properly. I connected db from ...
0
votes
0
answers
124
views
Teamcity reporting tests two times ( default surefire report and juni XML report)
I am using teamcity to execute some automated test using maven.
I have configured junit XML report processing in the build feature, in the test tab now I see results from both junit report and default ...
0
votes
1
answer
185
views
Publish json file generated from exe to Teamcity artifacts
I am new to teamcity and I am trying to do the following:
I have an exe file in my project & I have a build step in teamcity to
run the exe.
When exe runs, it saves a json file in the same folder ...
1
vote
1
answer
890
views
How to get rid of pending changes
I have this trigger in my build configuration to trigger this build only when specific files are modified (and skip another not related to production). Build is tested and deployed to production ...
0
votes
1
answer
784
views
Can't pass password from credentialsJSON to commitStatusPublisher (bitbucket server) Teamcity
It seems that i have an old version of commitStatusPublisher plugin and it can't convert credentialsJSON string to its value. In any other situation I can access password with
params.findRawParam(&...