【发布时间】:2018-08-01 09:35:22
【问题描述】:
我正在尝试创建发布定义以在部署新应用程序时创建应用程序池。正在使用新的应用程序名称创建新的应用程序池。
但是,我希望它在自定义服务帐户下创建。使用 ApplicationPoolIdentity 创建它的位置。
PFB 我用来创建应用程序及其应用程序池的 powershell 脚本作为发布定义中的任务之一,
-serverName $(Release.EnvironmentName)
-userName $(AdminLogin)
-password $(Password)
-webApplicationName RexxOnlineUpdateProcessing.Service
-webSiteName 'Default Web Site'
-appPool RexxOnlineUpdateProcessing.Service
-appPoolIdentity 4
-appPoolUserName $(AppPoolIdentityUserName)
-appPoolPassword $(AppPoolIdentityPassword)
-websiteBindingProtocols 'http/*:80:'
如果我在这里遗漏了什么,请告诉我。
【问题讨论】:
-
您使用的是哪个版本的 TFS?您是如何指定发布定义的?
标签: powershell tfs release release-management