Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们刚刚建立了 TeamCity 来构建我们所有的项目,我们需要一个系统来将它们部署到我们的暂存和测试服务器。这些项目是 ASP.NET。我们还需要部署我们的数据库,有什么东西可以做到这一点吗?
提前致谢。非常感谢您的帮助。
这看起来将涵盖从 TeamCity 部署 ASP.NET 应用程序代码
至于数据库,我假设您的意思是设置 TeamCity 以运行新的数据库迁移脚本。您可以在 TeamCity 中运行构建后事件,但这取决于您如何配置构建。例如,如果您使用 MSBuild,您可以执行类似的操作。其他像 Nant 这样的构建运行器应该有类似的东西。希望这可以帮助