microsoft / azure-pipelines-yaml

Azure Pipelines YAML examples, templates, and community interaction
MIT License
1.21k stars 934 forks source link

Pipeline Artifacts YAML shortcut example keys not working #513

Closed DanielsonZI closed 4 years ago

DanielsonZI commented 4 years ago

Hello,

I wanted to test the upload task mentioned in https://github.com/microsoft/azure-pipelines-yaml/blob/master/design/pipeline-artifacts.md

As I've tried numerous combinations of the task and I was not able to get working any, I've tried to paste the exact example mentioned on the end of paragraph just to test if the pipeline will be able to run. The pipeline is not able to run with the following error: /YAML/Build_job_template.yml: (Line: 17, Col: 5, Idx: 979) - (Line: 17, Col: 6, Idx: 980): While scanning an anchor or alias, did not find expected alphabetic or numeric character.

Also, the upload task has issues with keys 'prependPath' and 'seal'. Even when the values are set from examples, the pipeline validation fails with unexpected value error.

Is there anything that I'm missing, or the example is incorrect?

stale[bot] commented 4 years ago

In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for any confusion resulting from this move.