Service Fabric 1.5部署失败

时间:2017-06-06 17:56:55

标签: azure microservices azure-service-fabric appveyor

我收到错误

Unable to Verify connection to Service Fabric cluster
Cluster connection instance is null

这只发生在构建服务器上。我可以使用相同的配置文件从本地Visual Studio发布它工作正常,并在输出窗口中执行以下脚本,但在构建服务器上我使用相同的脚本得到此错误。任何想法?

"$buildFolder\APP.Microservices\Scripts\Deploy-FabricApplication.ps1" -ApplicationPackagePath "$buildFolder\APP.Microservices\pkg\Release" -PublishProfileFile "$buildFolder\APP.Microservices\PublishProfiles\cloud-dev-ci.xml" -DeployOnly:$false -ApplicationParameter:@{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop

0 个答案:

没有答案