Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure WebJobs Deployment with Continuous Integration on Visual Studio Online

Friends,

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.

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.

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

like image 228
Andy T Avatar asked Nov 21 '14 18:11

Andy T


People also ask

What Azure integrates with Azure App Service to enable continuous deployment and continuous integration workflows?

Azure App Service enables continuous deployment from GitHub, Bitbucket, and Azure Repos repositories by pulling in the latest updates. The Development Center (Classic) page in the Azure portal, an earlier version of the deployment functionality, was deprecated in March 2021.

How do you deploy Azure WebJobs?

Deploy to Azure App ServiceIn Solution Explorer, right-click the project and select Publish. In the Publish dialog box, select Azure for Target, and then select Next. Select Azure WebJobs for Specific target, and then select Next. Above App Service instances select the plus (+) button to Create a new Azure WebJob.

How do I deploy to Azure in Visual Studio?

Create or open an Azure cloud service project in Visual Studio. In Solution Explorer, right-click the project, and, from the context menu, select Convert > Convert to Azure Cloud Service Project. In Solution Explorer, right-click the newly created Azure project, and, from the context menu, select Publish.


1 Answers

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.

like image 171
brady gaster Avatar answered Nov 01 '22 20:11

brady gaster