6,073 questions
1
vote
1
answer
230
views
How to cache downloaded go dependencies in a containerized custom script execution?
One of my build steps is a custom script:
bash test/test.sh
The script itself sits in the source code and launches the testing:
cd test && go test github.com/geniot/blaze-test/src -json
I ...
1
vote
0
answers
34
views
"error NU1301: Unable to load the service index for source" with private nuget feed
I've got a build pipeline in TeamCity and a private nuget feed hosted in aws codeartifact.
The first step in the pipeline calls aws codeartifact login with the appropriate parameters.
It works when I ...
1
vote
0
answers
69
views
In TeamCity, why are Angular tests failing to start in the build but not in the agent's terminal?
SOLVED: The issue was a difference in temp directories in the environment. The build was using the temp directories set in buildAgent.properties and the terminal was using the default /tmp directory. ...
0
votes
0
answers
32
views
How can the TeamCity workspace automatically switch to the SVN path when there is no new content in the SVN branch?
I have a teamcity build task that contains several vcs roots. When I branch the project (replace the svn address of one of the vcs), the workspace svn path on the agent does not switch automatically. ...
1
vote
0
answers
60
views
Can't start test container in container
I'm using test-container. It's well when I execute in my local, but when it executed in docker container (teamcity agent), it doesn't work.
Caused by: java.lang.ExceptionInInitializerError: Exception ...
1
vote
0
answers
32
views
How to automatically detect Pull Requests from Git submodules in TeamCity without creating separate VCS roots?
I'm currently working on setting up a CI/CD pipeline using TeamCity.
In my project, I have a main repository that includes 127 submodules, each pointing to a separate Git repository.
I've already:
...
0
votes
0
answers
40
views
TeamCity checkout rules are having issues with parameters and absolute paths
Two issues that seem like they might be related. I'm trying to apply checkout rules for a VCS and getting weird results
+:Installers/Script => %teamcity.agent.work.dir%\Installers\Script is just ...
0
votes
0
answers
26
views
Reboot TeamCity agent between build pipeline
If I have 2 TeamCity build configurations (A and B), B with a snapshot dependency on A and the option to use the same build agent selected. If I have as a last step in A that reboots the build agent, ...
0
votes
0
answers
33
views
TeamCity REST API schemas
Sorry for the neophyte question, but I'm getting my feet wet on REST APIs just now. I've been extremelly happy using the xsdata library to generate parsers for IEEE IPXACT 1685-2014 data. Now I want ...
0
votes
0
answers
53
views
TeamCity parameter warning: is not fully resolved, using as is
I'm using a TeamCity environment variable which is a secret and it contains two % signs. Like this: thisis%thesecret%example
The parameter needs to be used as plain text as it is. Currently it works ...
0
votes
0
answers
54
views
Why does my trigger and pull request NOT work in TeamCity?
we have tried to add a trigger and pull request feature in our building type. When a merge request in GitLab is opened, it will automatically trigger one building. We are using the Pull Request ...
0
votes
1
answer
41
views
Teamcity 'SSH with pull request' error not disapear when switching to HTTP
I had a teamcity error because I use VCS that clones with SSH and I use the pull request feature. This is known not supported feature that raised to me error:
Failure to obtain pull request provider; ...
-1
votes
1
answer
47
views
Sharing failure conditions across all build configurations in TeamCity
We're using TeamCity to build all our Unity games and I would like to set up custom failure conditions for all build configurations. Our current structure looks like this:
Root/
Project1/
Build ...
0
votes
0
answers
73
views
How to run unit tests for teamcity BuildTypes created by Teamcity Kotlin DSL
We are using Teamcity Kotlin DSL to create our buildings in TeamCity and writing some unit tests for the build types. In the build.gradle.kts , we have added the dependencies as followed:
dependencies ...
0
votes
1
answer
134
views
VS22 Setup project used with TeamCity throws Unable to find dependency warning
I'm using VS2022 Setup project for a .Net Framework 4.8 winforms application. Locally on my PC everything runs fine, but running the project with TeamCity 2025.03 leads to a lot of warnings.
I build ...