We use: - SVN - Jenkins - MS Build plugin
We have several Web Form/MVC/Web services.
We are going to setup Microsoft Web Deploy and run bat file from Jenkins.
Maybe someone can suggest better way to do that or this looks like most effective solution?
Thank you in advance.
WebDeploy is definetly the right way to deploy web applications.
Staring from VS2010 targets for running web deploy in simple scenarious are "built-in" into the project files(and msbuild extension files on the PC). Starting from VS2012 you can also use Publish Profiles feature which allows storing publish details in a simple file. E.g. you can run something like that:
msbuild MyProject.csproj /p:DeployOnBuild=true /p:PublishProfile=<profile-name> /p:Password=<insert-password> /p:VisualStudioVersion=11.0
Which will build the app and publish it using the profile-name
publish profile.
We were using bat files to run webdeploy commands directly when we were restricted to .NET 3.5 and VS2008 which didn't have project files web deploy integration.
Hope it helps,
Ivan