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.
精彩评论