0

ビルドには TeamCity を、デプロイには Octopus を使用しています。Octopus は、IIS への MVC Web サイトの展開に Deploy.ps1 powershell スクリプトを使用します。

できるパワーシェルを探しています

  1. ウェブサイトが存在するかどうかを確認し、存在しない場合は作成します
  2. appPool が存在するかどうかを確認し、存在しない場合は作成します
  3. webapplication が存在するかどうかを確認し、存在しない場合はステップ 2 の appPool で作成します。

この展開を自動化する方法を示す便利なリンクはありますか?

ありがとう

4

1 に答える 1

2

I think this information might be useful for you.

The IIS Website and Application Pool feature in Octopus allows for a large number of options to be configured during deployment.

..

Web Site
If enabled, Tentacle will use use the PowerShell Web Administration module to attempt to create or modify an IIS Web Site and Application Pool using the settings below.

http://docs.octopusdeploy.com/display/OD/IIS+Websites+and+Application+Pools

于 2014-10-02T16:35:44.410 に答える