使用 CruiseControl 进行自动化网站部署
我之前已经为 Web 项目完成了一些自动化部署,但在为我的网站设置它时遇到了很多困难,因为没有 .csproj 文件可供 MSBuild 引用。我尝试过使用 AspNetCompiler,但我不断遇到阻碍其工作的障碍。是否有人对让 CruiseControl 与网站一起工作有经验,或者甚至可以做到这一点?
I have done some automated deploys for web projects before, but I am having a lot of difficulty setting it up for my web site because there is no .csproj file to reference with MSBuild. I have attempted to use AspNetCompiler but I keep running into roadblocks that prevent this from working. Is anyone experienced with getting CruiseControl to work with web sites, or can this even be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为该网站创建一个解决方案,并使用cruisecontrol中的MSBuild任务来编译和发布它们。理想情况下,我会创建一个 msbuild 文件,该文件将编译解决方案、存档当前部署的网站并将网站部署到服务器。
Create a solution for this website and use the MSBuild task in cruisecontrol to compile and publish them. Ideally I would create a msbuild file which will compile the solution, archive the currently deployed website and deploy website to the server.