Update (re-deploy) existing azure webjob

試著忘記壹切 提交于 2019-12-05 09:29:24

问题


I created an on-demand webjob. In the management portal there is no option to upload a new zip, to update it.
I can delete the existing webjob and create a new one, but I would like to keep my logs.
Is there any way to re-deploy it, overriding the old version, maintaining the logs?


回答1:


You can connect to the website where the webjob is at via FTP and update the necessary files without erasing your log files.

You can get the credentials to connect via FTP from the Publish Profile.




回答2:


You can also use your website's debug console at: https://yoursitename.scm.azurewebsites.net/DebugConsole There you get a file explorer in your browser where you can drag/drop files (even zips that will be extracted into your website).

In the file browser go to d:\home\site\wwwroot\App_Data\jobs\triggered\jobname

Some more info about this at: http://blog.amitapple.com/post/74215124623/deploy-azure-webjobs/



来源:https://stackoverflow.com/questions/28448427/update-re-deploy-existing-azure-webjob

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!