handling .net web applications with CI /CD using T

2019-08-23 00:42发布

I need some information on handling .net web applications with CI /CD using TFS 2018 (TFVC).I am using .NET core build template, my doubts are: 1) do we need to pass MS Build Parameter to trigger Web Deploy? 2) do we need to create a release pipeline in release definition and use some tool available to deploy web app and configure IIS settings?

Please let me know a method, i am confused.

1条回答
在下西门庆
2楼-- · 2019-08-23 01:12

You don't need to pass other parameters. The default parameters should be :

/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactstagingdirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"

Yes, you need to create a release pipeline to deploy the web app using the IIS Website Deployment task, if no such a task, then you can install the extension IIS Web App Deployment Using WinRM and use WinRM - IIS Web App Deployment task to do that.

Please see below articles for details.

查看更多
登录 后发表回答