Questions tagged [teamcity]

TeamCity is a user-friendly continuous integration (CI) server for professional developers and build engineers, like ourselves. It is trivial to setup and absolutely free for small teams.

82 questions
2
votes
1 answer

Why can't my TeamCity installation work with Mercurial when it works fine from the command line?

I am having trouble adding a Mercurial VCS root to a TeamCity Project. When I enter the repository information and click 'Test Connection' the pop-up says 'Connection Failed', shows me a message 'stderr: abort: couldn't find mercurial libraries in…
Matt Travi
  • 41
  • 6
1
vote
0 answers

Configure ssh-agent for TeamCity agent

I have TeamCity agents installed on a CentOS 7.3 server, and am trying to use the "SSH agent" build feature for a script that uses scp. However, it always fails due to a TimeoutException: [12:39:32] [Step 1/4] Failed to load SSH key 'Staging &…
Brad Mace
  • 1,024
  • 3
  • 17
  • 32
1
vote
0 answers

Blue/Green Deployment to IIS via TeamCity (On remote server)

We have a TeamCity instance that sits on an AWS server and then our production machines are on Bare Metal in a data center. If we wanted to get Blue/Green deployment working and needed to run some Powershell on the live machine from the TeamCity…
LiamB
  • 270
  • 5
  • 13
1
vote
1 answer

Teamcity 2017.2 with MS-SQL express issue

I am using CIS Microsoft Windows Server 2016 Benchmark 1.0.0 Level 2 on EC2 with Microsoft SQL Server 2016 Express. When coming to setup Teamcity 2017.2 I receive the following error: Login failed for user '********'.…
Eran Mor
  • 21
  • 3
1
vote
1 answer

Using a specific version of java for teamcity

I've got teamcity 10.1 running on a ubuntu box at work. This box requires java 1.7 to be installed for some of the other tools we have installed there. However teamcity (as of version 10) requires java 1.8. I cannot seem to find anywhere that I can…
Eric B
  • 15
  • 1
  • 5
1
vote
2 answers

Why are all my builds failing with "Configs generator runs longer than 120 seconds"?

We use TeamCity for our CI server, and have recently started using its Kotlin-based DSL to define build configurations in code and commit them to git. Yesterday, we added a new project by creating it in Kotlin. When we pushed the repo, it appeared…
Micah R Ledbetter
  • 513
  • 1
  • 5
  • 19
1
vote
0 answers

WebSockets with TeamCity behind Amazon ELB

I'm setting up TeamCity behind a public ELB in Amazon. I am attempting to fix the WebSocket connection issue: Some users cannot use optimized web UI updates via WebSocket protocol. This is a standard, default install of TeamCity listening on port…
Thomas Farvour
  • 141
  • 1
  • 1
  • 3
1
vote
1 answer

How can I set an Ansible variable whose value won't be known until after running the playlist?

I'm working on an Ansible script to set up a new TeamCity build agent, and there's one part of the process that I don't know how to automate. After installing a TeamCity build agent, it must be authorized by an admin, who logs into the build server…
rmunn
  • 111
  • 3
1
vote
1 answer

Find TeamCity Version/Build Number

Is there a way to find out what version (or build number) of TeamCity I'm using from looking at the installed files? I had a quick poke around but couldn't find anything in any of the readme/batch scripts/logs etc. The version number is normally…
Richard
  • 241
  • 1
  • 2
  • 9
1
vote
5 answers

automatically authorize teamcity agents

We have some TeamCity build agents running and I'd like to destroy and rebuild all agents over night automatically to have a clean set of agents in the morning. Destroying and provisioning the agent isn't a problem but I can't find a way to…
hennr
  • 143
  • 1
  • 9
1
vote
1 answer

Failed to stop TeamCity build agent service via net.exe. Failed to start process. Return code was 2 not equal to zero.

I installed TeamCity locally on my Windows 8 machine. When I open TeamCity via my browser it shows 0 agents. When I look at the agents, I see 1 agent disconnected with a message that it unregistered itself and the message "will update". I wait but…
Luis Perez
  • 121
  • 6
1
vote
0 answers

Does anyone know how to use a Bazaar repository with TeamCity?

I am using Bazaar for some projects and generally like it. I recently started looking into integrating it with TeamCity and thought it would be quite easy until I found that it wasn't supported out of the box. I have installed the bzr4j…
1
vote
1 answer

Run TeamCity Server and Agents in EC2 using internal IP addresses

I'm setting up a TeamCity cluster, with an SVN server, in EC2, and want to user TeamCity's 'cloud' functionality to have it spin up new agents when needed. My primary concern at this point is making sure that all communications between the three…
sharakan
  • 115
  • 5
1
vote
1 answer

Need to execute script file using sudo - run from teamcity

I need to execute a script in Linux platform "runme.sh" (which can be executed as sudo user) using another ant script "build.xml". Now i have execute this build.xml from teamcity. I have code for everything but got struck into while invoking…
coolgokul
  • 19
  • 1
  • 2
1
vote
0 answers

TeamCity sends inadequate responses after Selenium tests

I have a TeamCity 7.0.2 at CentOS 6.2 server without X Server. I've installed x11-fonts*, xvfb, firefox, xauth, extracted env. variable DISPLAY=localhost:1, and started xvfb. After that I could start Selenium tests using maven. Tests are executed,…
Dmitriy Sukharev
  • 233
  • 1
  • 4
  • 9