vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Schema validation breaks when using artifactName alias property on PublishPipelineArtifact@1 task

Open Charles-Gagnon opened this issue 3 years ago • 1 comments

Example : PublishPipelineArtifact@1 has a property named artifact with an alias of artifactName

https://github.com/microsoft/azure-pipelines-vscode/blob/main/service-schema.json#L20009

If you make a yml with this content :

steps:
  - task: PublishPipelineArtifact@1
    displayName: Demo
    inputs:
      artifactName: MyArtifact

then you get this error

DownloadPipelineArtifact is deprecated - Download a named artifact from a pipeline to a local path

So for some reason it seems to think that this is the DownloadPipelineArtifact task, although that may be a side effect of something else breaking

Charles-Gagnon avatar Jul 15 '22 20:07 Charles-Gagnon