1

I am automating Web Deployment process by using uDeploy and MSDeploy. I am creating package through MSBuild, then deploy it by using uDeploy and MSDeploy.

Every time when i create package it copies all the files into the created package, Is there any way to create package with changed files only. I have integrated TFS in Jenkins, one i click on the build it will get only changed files in my work-space and create the package.

Msdeploy command is below

"${p:resource/IIS-MSD/commandPath}msdeploy.exe" -verb:sync -source:package=MarketWorkFlowWebApp.zip -dest:auto=localhost -setParam:name=%1,value=%2 -enableLink:AppPoolExtension

Msbuild arguments are given below

/p:configuration=debug /p:outdir=.\outPutPath;DeployIISAppPath="MarketWorkFlowWebApp" /T:Package
chief7
  • 14,263
  • 14
  • 47
  • 80
Pavan Tiwari
  • 3,077
  • 3
  • 31
  • 71
  • 1
    This is not supported Web Deploy packages are designed to be self contained and contain all content. When you publish the package it should publish changed content only. – Sayed Ibrahim Hashimi Sep 23 '15 at 03:27

2 Answers2

1

Web Deploy does not support creating incremental packages. You can only generate a full package that will publish the added/updated/deleted files only.

You have to create your own deployment tool/process to achieve this.

Regards,

PatriceVB
  • 1,053
  • 1
  • 10
  • 28
0

MSDeploy does not support creating incremental packages but it does only deploy "changed" files to the target destination by default. By default it compares the date/time stamp on the files to determine which files have changed. This is usually a poor indicator of changed files however. You can alternately instruct MSDeploy to use the checksum of files instead which is slightly more CPU intensive but a much better indicator of changed files.

For more info, check out this link - http://blogs.msdn.com/b/webdev/archive/2013/10/30/web-publishing-updates-for-app-offline-and-usechecksum.aspx

chief7
  • 14,263
  • 14
  • 47
  • 80