Website not updated when deployed with a WebJob

I have a solution that has an ASP.NET MVC Web Application with source control in Visual Studio TFS online. The site is hosted in Azure, which deploys the site every time it is built in TFS online. Everything is working good.

I then added a Web Job project to the solution using Add > New Azure WebJob project and I set it up with some help from this post on the azure blog (azure.microsoft.com/blog/2014/08/18/enabling-command-line-or-continuous-delivery-of-azure-webjobs). Since then, I noticed that any changes made to the web application does not reflect on the deployed site anymore. I don't see any errors in the build log in TFS online.

To work around the issue, I have to 1) remove the web job project from the solution and 2) comment out everything in the webjobs-list.json file in the web application's Project Properties before deployment. This essentially puts the solution back in the state before the web job was added.

I was wondering what I could do to prevent my problem from occurring. I think I maybe missing some configuration step, but I don't know where to look.


July 21st, 2015 1:22am

Hi,

 Hope you have looked at the below article for some additional insights.
 http://chriskirby.net/deploy-your-webjob-projects-with-your-azure-website-using-continuous-delivery/
 
 Let us know if this helps. 

Regards,
Nithin Rathnakar

Free Windows Admin Tool Kit Click here and download it now
July 21st, 2015 8:20am

Doesn't seem to work with Visual Studio Online
July 22nd, 2015 7:49am

Hello listnet,

As per my understanding from your description you have multiple deployable projects. So this may be causing the issue. When you are deploying project, you need to mention which project need to be deployed.

 Please refer the below links which gives you more information on this:

http://stackoverflow.com/questions/30290825/vso-not-deploying-azure-website-with-webjob

If my understand is wrong, please provide more information so that it will help us to resolve your issue.

Regards,
Sunil.HP

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2015 2:23pm

Hello listnet,

As per my understanding from your description you have multiple deployable projects. So this may be causing the issue. When you are deploying project, you need to mention which project need to be deployed.

 Please refer the below links which gives you more information on this:

http://stackoverflow.com/questions/30290825/vso-not-deploying-azure-website-with-webjob

If my understand is wrong, please provide more information so that it will help us to resolve your issue.

Regards,
Sunil.HP

July 22nd, 2015 6:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics