azure-devops - Azure DevOps 中的名称和显示名称有什么区别

标签 azure-devops azure-pipelines

我在 azure devops 中找到了以下任务定义:

- task: DotNetCoreCLI@2
  name: 'CleanProjectsBeforeBuild'
  displayName: Clean Projects Before Build
  inputs:
    command: 'custom'
    projects: $(System.DefaultWorkingDirectory)
    custom: 'clean'
    arguments: '--configuration  $(BuildConfiguration)'

我的问题是“名称”属性和“显示名称”属性有什么区别?

最佳答案

您可以在此处找到描述 Task :

steps:

-task: string # reference to a task and version, e.g. "VSBuild@1"

displayName: string # friendly name displayed in the UI

name: string # identifier for this step (A-Z, a-z, 0-9, and underscore)

关于azure-devops - Azure DevOps 中的名称和显示名称有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60453209/

相关文章:

visual-studio-2013 - 尝试在 Orchard 1.8 源代码中使用 Visual Studio Online

azure - 如何在 Bicep 中获取 AKS 节点池 vnet

powershell - Azure Devops 服务器密码变量参数到 powershell

azure - 如何删除所有函数,然后从 AZURE DEVOPS PIPELINE 部署函数应用?

tfsbuild - TFS 2015(本地)vNext 构建失败,但 xaml 构建有效

azure - 如何在Azure DevOps中编译.NET(控制台应用程序)并生成exe

c# - Azure Pipelines 选项内部版本号 : Does $(Rev:r) increment on every build?

security - 我们如何保护 VSTS 中的数据不被 API 访问?

azure - 有没有办法在创建管道后编辑 azure-pipelines.yml ?

azure-pipelines - 文件转换任务在 Azure 管道任务期间转义换行符