What is the difference between name and displya name in Azure DevOps

Viewed 525

I found the following definition of a task in azure devops:

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

My question is ¿What is the difference between the 'name' property and the 'displayName' property?

1 Answers

You can find description here 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)

Related