我收到错误
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