Can Team City be configured to do build on servers other than where it is running ?
HI, I would like to know that whether team city can be configured to do build and deploy on servers other than on which it is running.
Scenario is : I have kept my build script on Server M1 where team City runs.I am able to do build and deployment succesfully on tibco applications installed on same machine.
Now if i want to implement same build and deployment on another server M2 , but using TeamCity instance running on M1 only.In other words i want TeamCity on M1 to be able to read/write/build/deploy on servers ( say M2) other than where it is actually running.
Is this possible to get this configured where team city runs on one machine but it actually does ddeployment on another machines by doing read/write file system on another machines.?
Thanks
Shrijeet Sinha
Please sign in to leave a comment.
Hi Shrijeet,
Yes, it is perfectly possible, and there is two possible scenarios about this:
-You can install a build agent on the target server and connect it to the teamcity server, then mark the builds that need to be deployed there to be run on that agent. That way, it has as much access as the permissions that process has.
-You can use many different plugins (such as the bundled SSH Upload) to deploy to remote servers, but you need to take into account that you need the related service running on that server (in case of a ssh upload, an SSH server, ftp upload will require an FTP server, etc). If you have a protocol for something that there isn't a plugin already, you can usually create a command line script that will use your tools to do the upload.
Hi Denis
Thanks for your advise.I am very new to TeamCity.
So do i also need to install another team city instance on target server to install build agent on it.
Thanks
Shrijeet Sinha
Hi Shrijeet,
We have instructions on what exactly you need to do here: https://confluence.jetbrains.com/display/TCD10/Setting+up+and+Running+Additional+Build+Agents