1

Im trying out the Hudson Continuous Integration. After the build is executed i want to copy the content of the ReleaseBuild to another website on the server.

This should be possible i guess but i cant seem figure it out.

I know this can be done in nAnt and msbuild but i need to make Hudson do it, eg plugin or something.

Anyone?

4

1 に答える 1

1

Hudson には組み込みのランダムな場所へのコピー タスクがないため、次のオプションがあります。

  • デプロイを行う別の nant/msbuild ステップを追加します
  • Post Build Pluginをインストールし、.cmd ファイルを呼び出してデプロイを実行します
  • Copy Archiver Pluginを使用してコピーを行います - ビルド後のプラグインよりも具体的です。(ありがとう @nos)

nant ファイルに余分なタスクを追加するのがおそらく最良のオプションです。なぜなら、nant は IIS を制御し、ファイルをフォルダーにコピーするだけでなく、正しいことを実行できるからです。

于 2010-02-09T20:52:56.800 に答える