在 Visual Studio Online 上使用持续集成部署 Azure WebJobs [英] Azure WebJobs Deployment with Continuous Integration on Visual Studio Online

查看:20
本文介绍了在 Visual Studio Online 上使用持续集成部署 Azure WebJobs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

我正在尝试设置与 Azure WebJobs 的持续集成.我在解决方案中有一个 Web 和一个 WebJobs 项目.我已经在 Visual Studio Online (*.visualstudio.com) 中为 Web 应用设置了持续集成和部署.我还使用 Visual Studio ASP.Net 扩展连接了 WebJobs 和 Web 应用程序 - 右键单击​​ VS 2013 中的 WebSite 项目 > 添加 > 现有 Azure WebJob 项目.它在网站项目中创建了 webjobs-list.json 文件.

I am trying to setup Continuous Integration with Azure WebJobs. I have a Web and a WebJobs project in the solution. I have continuous integration and deployment already setup for the web app in Visual Studio Online (*.visualstudio.com). I also connected the WebJobs and the Web app using the Visual Studio ASP.Net extensions - Right click the WebSite project in VS 2013 > Add > Existing Azure WebJob project. It created webjobs-list.json file in the website project.

我期待在 Visual Studio Online 构建后 Web 应用程序部署发生在 Azure 网站上时,它也会部署 WebJobs.但它没有这样做.

I was expecting that when the Web app deployment happens to Azure Website after the Visual Studio Online build, it will deploy the WebJobs too. But it is not doing so.

Visual Studio Online 在visualstudio.com 中构建后,我们如何自动化WebJobs 部署?

How do we automate the WebJobs deployment after Visual Studio Online build in visualstudio.com?

推荐答案

WTE 团队意识到 TFS 发布问题.我一直在亲自开发一种我觉得很舒服但尚未最终确定的解决方法.我的团队正在努力改进 VSO 的 WebJobs 发布体验.此项目绝对在我们的修复议程上,并将包含在下一次 VS 更新中.与此同时,我暂时想出一个解决方法;一旦该解决方法的规定足以发布,我将在我们的团队博客上写一篇总结该过程的帖子.

The WTE team is aware of the TFS publishing issues. I've been personally working on developing a workaround with which I'm comfortable but haven't finalized it yet. My team is working on an improvement to the WebJobs publishing experience from VSO. This item is absolutely on our agenda to repair, and will be included in the next VS update. In the meantime I'm trying to come up with a workaround for the time being; once that workaround is prescriptive enough to post, I'll write a post summarizing the process on our team blog.

这篇关于在 Visual Studio Online 上使用持续集成部署 Azure WebJobs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆