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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

teamcity bitbucket pull requests in forking model

The users in an org, want to use bitbucket like the opensource github mode, with forked repositories, where they submit personal pull Requests from their own origins to an upstream repository. How do ...
0
votes
0answers
23 views

IIS - How to create alias for directory?

Alias is maybe not the correct description of what I need to have configured. But - here is the issue - we have our Teamcity build server connected to TFS-server 1. When creating the VCS root in ...
0
votes
1answer
188 views

Can Teamcity select agents by regex matching build parameter value?

I have a number of Teamcity Agents, some in a remote location. Both locations have a default app server instance to test clients against, but we also have some experimental app servers that only run ...
0
votes
1answer
100 views

Teamcity doesn't work after restart - Could not initialize class sun.nio.ch.SocketChannelImpl$DefaultOptionsHolder

I just installed teamcity and I was able to create Admin account etc., But as soon as I restart the teamcity service, I can no longer connect to teamcity. Here is the error I see.. Can someone shed ...
0
votes
1answer
2k views

Teamcity - package javax.servlet does not exist

How do I import javax.servlet in Teamcity? I have the below error message when I try to build the java project through teamcity IntelliJ IDEA runner. This is my first time with teamcity and I'm using ...
1
vote
0answers
380 views

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] ...
0
votes
1answer
288 views

Unable to access TeamCity when running under port 80

After completing a fresh install of TeamCity and attempting to run TeamCity on a different port than the default (8111) using the below configuration in the <TeamCity Directory>/conf/server.xml: ...
0
votes
1answer
504 views

Use TeamCity to FTP Upload result of previous Maven Build

I'm using TeamCity to build a Java project with Maven, and there's two Build Steps: Get code from bitbucket with git, build with Maven, then upload it to jfrog with Maven. FTP upload to Azure. The ...
1
vote
0answers
235 views

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 ...
0
votes
0answers
2k views

Teamcity build agent: how to execute bash script?

I make a build configuration which consists 3steps. first, maven package ssh upload to specific folder ssh exec this script. pkill -9 -f aaa.jar nohup java -jar /home/user/app/aaa.jar --spring....
1
vote
1answer
264 views

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 ...
0
votes
1answer
685 views

TeamCity server reports zero available disk space when run inside Kubernetes

I have a strange problem with TeamCity server (and TeamCity agent). I have them running inside Kubernetes. They both report that they have zero disk space available. However, there is enough disk ...
-1
votes
1answer
57 views

TeamCity Upgrade Issue

We are trying to migrate our production TeamCity from version 9.1.4 to version 10.0.5 The upgrade process works well and everything works once I get onto the web UI. The problem is that, after a ...
0
votes
1answer
904 views

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 ...
0
votes
2answers
301 views

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 ...
3
votes
0answers
2k views

How to set TeamCity Command Line Runner default shell?

I'm starting my TeamCity agent on Ubuntu 15.10 via an init.d script like so: #!/bin/sh ### BEGIN INIT INFO # Provides: TeamCity Build Agent # Required-Start: $remote_fs $syslog # Required-...
1
vote
0answers
576 views

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 ...
0
votes
1answer
876 views

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 ...
4
votes
1answer
1k views

TeamCity, nginx, and Websockets - 501 Error

I'm currently setting up TeamCity behind an nginx reverse proxy, but I am getting an error in my browser. The error is as follows: WebSocket connection to 'ws://ci.example.net/app/subscriptions?X-...
2
votes
0answers
1k views

Teamcity not working with warn messages in logs

I've installed Teamcity v9 on my VPS and I have some trouble with it: it's not working at all. My OS is Debian x64, oracle jdk8 is installed and env variables are ok. Here are parts of log files: ...
8
votes
4answers
12k views

Windows: How to start docker VM att system boot

I'm in a situation where I need to run docker on a windows based build server (I'm normally working with Arch/Debian Linux) and I can't find a way to have the docker VM to start automatically on ...
2
votes
1answer
2k views

teamcity, setup vcs root using bitbucket (git) behind proxy server

I've installed TeamCity on a Windows Server 2012 box behind a corporate firewall that requires user authentication via a proxy server to access the internet. I want to connect TeamCity to Bitbucket (...
0
votes
1answer
443 views

Azure website application settings being overwritten after git deploy and deployment slot switch

I am deploying multiple sites from a single git repo, which I am achieving by setting an application setting for the website via the azure portal. (The setting is 'Project'='pathtomyproject/myproject....
0
votes
2answers
367 views

One SSH Key for multiple Ubuntu servers + Windows + Teamcity

I want to use the same SSH key to access multiple Ubuntu servers. The reason for this is that I want to deploy our application in DEV, STAGING, PROD, LOCAL environments through a CI server. We use ...
2
votes
0answers
776 views

TeamCity Connection Timeout

I set up a TeamCity server yesterday, and it was working fine until this morning when I restarted it. I didn't change any settings anywhere, but I keep getting this message in the teamcity-agent log ...
1
vote
1answer
876 views

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 ...
2
votes
0answers
143 views

Why does TeamCity server stop short time after it starts

I use TeamCity with bundled Tomcat server. I start TeamCity server using runAll.sh start command. The server starts and I can access its web interface. However, within a minute or two the server stops....
1
vote
4answers
1k views

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 ...
6
votes
2answers
3k views

Teamcity Build Agent gets killed by systemd when upgrading

On our centos system we have configured a teamcity agent as a systemd service. The service works fine except when the agent performs an upgrade. Then it gets killed while performing the upgrade. I ...
4
votes
1answer
2k views

Scripting out the installation of Team City agents

We have a reasonable-sized Team City installation and currently I am planning to add another 25 agents, 5 agents per machine. So far I was doing the installation manually: Log into the server ...
0
votes
1answer
369 views

WinSSHD, GIT over SSH Team City Fetch Url - Does not appear to be a git repo

We used to work with windows network paths to connect to git, but starting to use team city we want to use SSH. I'm having trouble testing a connection to a git repo on a server here at 192.168.X.XXX ...
0
votes
0answers
650 views

Make Azure Powershell cmdlet's available to team city

I have installed the Azure powershell cmdlet's via the web platform installer on my build server that is running TeamCity. However, when I setup a powershell build step I get an error: [19:16:00][...
1
vote
1answer
1k views

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 ...
0
votes
2answers
6k views

TeamCity, SVN and SSL connection problems

Within our network we have a server which runs the Subversion Edge server. I have configured Edge to use SSL on port 8443. We have been happily connecting to SVN via clients such as Tortoise SVN, both ...
0
votes
1answer
2k views

Teamcity, Error collecting changes

Created a brand new TeamCity build project and configuration along w/ a new VCS root and receive the following errors on the first check for revisions TeamCity 8.0.6 (build 27767) running on CentOS 6....
0
votes
1answer
2k views

Can't synchronize the user group in TeamCity

0 user and group synchronized Below are my ldap log and settings. All I want to do is: 1. map the AD group "ccusers" to a group in TeamCity and create all users in that group. 2. Or add all users in ...
4
votes
0answers
2k views

TeamCity - Error - Found a TeamCity internal database when no system directory or an empty system directory is expected

Our TeamCiity server was restarted the other day and it is coming up with no projects listed. There should be a total of 3. I did not configure this machine and any help is appreciated. output of ...
2
votes
0answers
1k views

TeamCity (or Jenkins) with Cluster/Replicated servers

We use Team City 7 for Continuous Intergration. Sometimes I need to bring down the server for maintenance which stirs up complaints. Is anyone using a cluster for these types of servers where there ...
1
vote
0answers
69 views

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 ...
0
votes
1answer
2k views

Teamcity buildagent on mac, environment variable not visible to Teamcity?

Having problems setting up a Mac as a buildagent for TeamCity. It works for basic builds, but I'm unable to meet build requirements for our main build. Unmet requirements shown in Teamcity: env....
0
votes
1answer
821 views

java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0

I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
4
votes
2answers
4k views

TeamCity: 'git fetch' command failed. stderr: Socket Closed

We have been working for years with TeamCity and for several weeks with git as version control system. I have set up integration with TeamCity and that has been working fine. We have four different ...
0
votes
1answer
146 views

VMware Converter conversion of Windows TeamCity Server

I have a VM: Windows Server 2008 running TeamCity with a local MSSQL database, virtualized using Hyper-V. I want to migrate this VM to ESXi (free version) using VMware Converter. The VM has a ...
0
votes
1answer
231 views

Teamcity 7.1.4a working SVN roots failing

I just installed TeamCity 7.1.4a over a working 7.1.2 installation. All of my SVN roots are now failing with 403 forbidden errors. SVN is logging that attempts from TC are now anon(ymous) and not ...
7
votes
1answer
11k views

How to execute bat file remotely using Psexec from team city inside the powershell command

I have a powershell command which runs in TeamCity. When I try to run a batch file remotely using psexec from this .ps file, I see once the remote execution started, nothing happens. I tried several ...
0
votes
1answer
4k views

TeamCity port 80 is already in use, I think [closed]

I have no clue what other program might be using port 80, but after checking the TeamCity log file, it appears to be in use already: The following is from catalina.2012-12-03.log: SEVERE: Failed to ...
2
votes
1answer
2k views

GITBLIT Using Cert for SSL

I'm currently running GITBLIT on Windows Server 2012 to centrally host our GIT repos. I have been using a self-signed cert as per setup instructions on Gitblit but I want to use an SSL Cert from ...
2
votes
1answer
263 views

Teamcity LDAP encryption

I wondering if it is possible to use teamcity with LDAP encrypted master password? The idea is to be able to use LDAP with Teamcity without ability to get access to LDAP master passwords (create/...
1
vote
1answer
1k views

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 ...
1
vote
1answer
3k views

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 ...