Best practise

Hi guys,

I am fairly new to all of this, and so i would like to know how do I use Team City to just deploy patch updates (i.e. bug fixes) to production(server) and not deploy the full application.

3 comments
Comment actions Permalink

Hi, this is very general question. Usually, application deployed to production from a kind of source that was built and tested properly. TC can do some sort of things, but I'm not sure this is a good way to do.

0
Comment actions Permalink

Hi,

TeamCity does not provide deployment itself. When you run build from TeamCity it will update all artifacts in the working directory (by default it is checkout directory). If you want to package sources and/or compiled executables, you need to use build artifacts feature (http://confluence.jetbrains.com/display/TCD8/Build+Artifact).

After it you can setup deployment as an additional build configuration. The build configuration can then have an artifact dependency that will retrieve artifacts from another build (producing the application/data that you need to deploy). The build configuration should perform the actual deployment inside the build script (like Ant/MSBuild/command line/etc.). For more detail read Set up Deployment for My Application in TeamCity.


Also for more information about deployment you can read this post - You're deploying it wrong! TeamCity, Subversion & Web Deploy.

0
Comment actions Permalink

Thank you i have been reading over publish profiles. I think i may start heading in that direction for updates and patching to our application. Alina Mishina You're answers are always well structured and very direct Thanks again.

0

Please sign in to leave a comment.