[英]Publishing from Visual Studio Team Services to Azure Web Role
When releasing to a test or production environment, this is our current procedure: 发布到测试或生产环境时,这是我们当前的过程:
AssemblyInfo
version numbers AssemblyInfo
版本号 This is a very manual and cumbersome process. 这是一个非常手动和繁琐的过程。
Is there any way to release labelled code directly from Team Services? 有什么方法可以直接从Team Services释放带有标签的代码吗? We don't want continuous integration, we only want controlled version releases.
我们不想持续集成,我们只想要受控版本。
What about release changes from a Database Project? 那数据库项目的发行变更又如何呢? Will this always be a manual process or is there a decent way to automate it?
这将始终是手动过程,还是有适当的自动化方法?
Note: We are using Visual Studio Team Services and Visual Studio 2013. 注意:我们正在使用Visual Studio Team Services和Visual Studio 2013。
Step 2 to 4 are out-of-the-box in VS Team Services. VS Team Services现成的第2步至第4步。 Just setup a continuous integration build from Azure Management Portal and then edit the Build Definition in VS to be manually triggered instead of check-in triggered.
只需从Azure管理门户设置连续集成版本,然后在VS中编辑版本定义即可手动触发而不是签入触发。 The code is automatically labelled by default on each automated build.
默认情况下,每个自动生成的代码都会自动标记。
You can also automate step 1 but is not out-of-the-box. 您也可以自动执行步骤1,但不是开箱即用的。 See http://tfsbuildextensions.codeplex.com/wikipage?title=How%20to%20integrate%20the%20TfsVersion%20build%20activity&referringTitle=Documentation
请参阅http://tfsbuildextensions.codeplex.com/wikipage?title=How%20to%20integrate%20the%20TfsVersion%20build%20activity&referringTitle=Documentation
About Database deployment check out this: http://www.codewrecks.com/blog/index.php/2009/10/06/deploy-a-database-project-with-tfs-build/ 关于数据库部署,请查看以下内容: http : //www.codewrecks.com/blog/index.php/2009/10/06/deploy-a-database-project-with-tfs-build/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.