Deploying azure webjob via git -
i have solution containing .net mvc website, , webjob.
i deploy using git - on git force azure, website upgraded. i'm adding console application going run on schedule. i'm trying work out how deploy website when git push
, i'm not sure how this.
i know create folder website\app_data\jobs\triggered\webjob
, re-create files there (say post-build event on webjob), mean need commit files git repo deploy pick them - mean every time build, git prompting me commit them 1 time again - ugh.
is there nicer way - can force repo azure, , deploy website correctly , webjob?
thanks
yes, can without having set actual exe's , project output folder explicitly. blog post azure blog documents workaround enable git or command-line deployment of web application inclusive webjobs.
http://azure.microsoft.com/blog/2014/08/18/enabling-command-line-or-continuous-delivery-of-azure-webjobs/
if doesn't unblock please post update , i'll help walk diagnose other issues run into. may want update webjob publishing nuget updated 1 on nuget here: https://www.nuget.org/packages/microsoft.web.webjobs.publish/1.0.2
azure azure-webjobs kudu
No comments:
Post a Comment