Azure的发布WebJobs错误 [英] Azure WebJobs publishing error

查看:229
本文介绍了Azure的发布WebJobs错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经部署了一个生产槽和发展插槽web应用程序,为我们创造了几个webjobs(连续和预定),我们希望将它们手动部署(不被链接到Web应用程序部署),这样的过程我们按照部署是:

We have a webapp deployed with a production slot and a development slot, for both we've created several webjobs (both continuous and scheduled) and we want to deploy them manually (without being linked to the webapp deploy) so the process we follow for deployment is:

1 - >部署Web应用程序

1 -> Deploy WebApp

2 - >对于每个WebJob:右键单击该项目+部署为天青WebJob +选择合适的插槽+发布

2 -> For each WebJob: Right Click on the project + Deploy as Azure WebJob + Select proper slot + Publish

我们能够没有任何问题发布用于生产槽,但是当涉及到​​开发插槽下面的错误一遍又一遍的显示出来:

We are able to publish for the production slot without any problems, but when it comes to the development slot the following error shows up over and over again:

C:[...] \\包\\ Microsoft.Web.WebJobs.Publish.1.0.6 \\工具\\ webjobs.console.targets(110,5):错误:在创建WebJob时间表时出现错误:没有网站可以发现它匹配WebSiteName [slot__test]和WebSiteUrl [ http://slot-test.azurewebsites.net] 的供应

C:[...]\packages\Microsoft.Web.WebJobs.Publish.1.0.6\tools\webjobs.console.targets(110,5): Error : An error occurred while creating the WebJob schedule: No website could be found which matches the WebSiteName [slot__test] and WebSiteUrl [http://slot-test.azurewebsites.net] supplied

随着更多的信息,我们使用Visual Studio 2013专业版更新5和Azure的SDK 2.7

As additional info, we are using Visual Studio Pro 2013 Update 5 and Azure SDK 2.7

编辑:
这个错误仍然1.0.10版本发生

This error is still happening with version 1.0.10

推荐答案

找到了解决办法,从1.0.6到1.0.3一切工作顺利降级Webjobs.Publish的NuGet包后。发布因为它不是我们第一次遇到的问题,像这样的不匹配目前的工具包时,MS应该更加小心。

Found the solution, after downgrading Webjobs.Publish nuget package from 1.0.6 to 1.0.3 everything worked smoothly. MS should be more careful when publishing packages that are not matching the current tooling as it's not the first time we encounter issues like this.

这篇关于Azure的发布WebJobs错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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