Kentico Website Project Deploy Teamcity

Nicolás P asked on June 21, 2017 19:40

I was wondering if Kentico has an article explaining how to deploy a website project using Teamcity just moving files with changes, you know Kentico is a heavy application, and any change in the app_code makes to compile the site, sometimes we just perform changes in user controls (web parts) and we don't want to move the complete site just for that, is it that possible using Teamcity?

It would be great if we start a conversation about this, hopefully, sharing experiences.

Recent Answers


Brenden Kehren answered on June 21, 2017 21:13

There are a few articles out there which discuss some of this already. It may not be exactly 100% what you want or need but it should give you an idea of where to get started.

https://devnet.kentico.com/articles/video-continuous-integration-getting-started-with-kentico-co-and-teamcity
https://devnet.kentico.com/articles/automating-kentico-continuous-integration-with-teamcity-and-github

1 votesVote for this answer Mark as a Correct answer

Nicolás P answered on June 21, 2017 21:37 (last edited on June 21, 2017 21:37)

I have already seen these articles, but as you say is not exactly what I looking for, I was hoping that Kentico had this covered in some way because you know, copy the complete CMS folder is not what I looking for. If someone has experienced this as well would be good start a conversation about to try to find ways to solve it.

Thanks Brenden!

0 votesVote for this answer Mark as a Correct answer

Andrew Radburnd answered on June 22, 2017 00:37

Hi Nicolas,

We achieve this in Teamcity by using Microsoft Web Deploy. It's a service you install on the web server, you setup your site for web deploy which creates a username and password. If you use Azure Web Apps then this is already installed and setup and the details are available in your publish profile.

There is no native Teamcity build runner for it but you just create a CMD step that calls the msdeploy.exe in Teamcity and pass in the connection details and all the required parameters. Web deploy will only sync the changes based on timestamp or you can use checksum. You can exclude folders like media libraries using skip rules as well as files like robots.txt.

I hope that's enough to get you started and in the right direction.

3 votesVote for this answer Mark as a Correct answer

Nicolás P answered on June 22, 2017 16:04

Great information Andrew, this will be very helpful, I will start to dig further, thank you Andrew!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.