持续部署系统
我们刚刚设置了 TeamCity 来构建所有项目,我们需要一个系统将它们部署到我们的登台和测试服务器。这些项目是 ASP.NET。我们还需要部署我们的数据库,有什么东西可以做到这一点吗?
提前致谢。非常感谢您的帮助。
We have just set up TeamCity to build all of our projects and we need a system to deploy them to our staging and testing servers. The projects are ASP.NET. We also need to deploy our databases, is there something out there that can do this?
Thanks in advance. Help is much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个 看起来它将涵盖 TeamCity 中 ASP.NET 应用程序代码的部署
至于数据库,我假设您的意思是设置 TeamCity 来运行新的数据库迁移脚本。您可以在 TeamCity 中运行构建后事件,但这取决于您配置构建的方式。例如,如果您使用 MSBuild,您可以执行类似 这个。其他构建运行程序(例如 Nant)应该有类似的东西。希望这有帮助
This looks like it would cover the deployment of the ASP.NET application code from TeamCity
As for databases, I am assuming you mean setting up TeamCity to run new database migration scripts. You can run post build events in TeamCity but it depends on how you configure the build. If you use MSBuild for instance you can do something like this. The other build runners like Nant should have something similar. Hope this helps