开发者

Hudson Continuous Integration. Copy contents of a folder to another folder (website)

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?


Hudson doesn't have a built in copy to some random location task so you have the following options

  • Add another nant/msbuild step that does the deploy
  • Install the Post Build Plugin and call a .cmd file to do your deploy
  • Use the Copy Archiver Plugin to do the copy - more specific than the post build plugin. (Thanks @nos)

The extra task in your nant file is probably the best option as nant can control IIS and do the right thing rather than just copying the files into a folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜