Select Page

Update JetBrains TeamCity in one click

Update JetBrains TeamCity in one click

  A small script developed to upgrade TeamCity with no or less effort! a very simple script, easily extensible.

TeamCity is a continuous integration and build management system. With TeamCity, you can set up a build server within minutes and enjoy out of the box continuous unit testing, code quality analysis, and early reporting on build problems — even without leaving your favorite IDE. TeamCity offers a gentle learning curve, so you can quickly improve your release management practices by gradually adopting its advanced features and capabilities.”


This script only work if

  • You run TeamCity using the standalone package provided at under #Linux
  • You use MYSQL as an external DB
  • You must run it as root (because getting the latest software with wget may not otherwise be possible)
  • This script is not endorsed by JetBrains nor official.
  • GNU/GPL version 3, use at your own risk, provided as IS

It must be safe to use, as

  • It backup first your database
  • it archive your existing TeamCity installation with a timestamp
  • it also copy any customizations (server.xml, agent you have made to the new installation
  • It download automatically and extract teamcity


# ./ newVersionNumber installPathHome


/home/teamcity > ./ 4.5.4 /home/teamcity

Output of the script

stopping current TeamCity at /home/teamcity/TeamCity 
Read database settings from 
Moving current TeamCity /home/teamcity/TeamCity to /home/teamcity/TeamCity.20093830 
Saving database to file system at /home/teamcity/TeamCity.20093830/teamcity.sql 
getting the latest version at 
Unpacking new version 
Copying previous customizations 
Copying required 3rd party librairies 
Copying local agent to new TeamCity 
Starting new TeamCity 

Don’t expect more at the moment, it has been created to make the update of TeamCity faster for ME now. Feedback is appreciated, and improvement/ideas are always welcomed.


About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.