azure-devops - 通过 VSTS CI/CD 升级 Azure Service Fabric 时出错

标签 azure-devops azure-service-fabric azure-pipelines azure-pipelines-release-pipeline

我正在使用 VSTS 为服务结构构建和部署设置 CI/CD。第一次部署没有错误,但第二次更新部署给我以下错误。

The content in ConfigPackage Name:Config and Version:1.0.0.20180312.1 in Service Manifest 'SampleWebPkg' has changed, but the version number is the same.

我按照下面的指示

https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts

最佳答案

发生这种情况是因为您更新了服务二进制文件但没有更新 list , list 指向与以前相同的版本但二进制文件不同。

An example how this might occur is when you rebuild your service and deploy a new version without changing the version numbers in the manifest files

检查:

  • 如果servicesmanifest.xml中的服务版本比之前更新了,如果没有,升级。

  • applicationmanifest.xml中服务版本较之前更新

关于azure-devops - 通过 VSTS CI/CD 升级 Azure Service Fabric 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49237201/

相关文章:

exception - Service Fabric Actor 远程调用导致 "Specified cast is not valid."异常

Azure DevOps 构建无法加载引用的程序集

azure-devops - "az pipelines runs artifact download"失败,错误为 "Artifact was found, but is of type ' 容器 '"

c# - 如何禁止在发布管道中使用预发布版本的 nuget 包

azure - 获取每个用户的工作项字段的总统计信息

azure-service-fabric - 无法找到依赖项 Microsoft.AspNet.Server.WebListener >= 1.0.0-rc1-final

oauth - VSTS,创建构建定义得到 AllowScriptsAuthAccess 错误

c# - 为本地集群安装证书

ios - 用于 Xcode 托管配置文件设置的 Azure Pipelines 配置 - 可能吗?记录在案?

azure-devops - 根据对 TFVC 中特定文件夹的更改触发 VSTS 构建