f2calv / yamlizr

Azure DevOps Designer-to-YAML Pipeline CLI CodeGen Tool w/GitHub Actions Generation
MIT License
69 stars 16 forks source link

Question - need more info from CLI #105

Closed darrens280 closed 3 years ago

darrens280 commented 3 years ago

Hi. I was excited to find this tool, and would like to try it out, to convert Classic Release pipelines into YML-based pipeline.

I have downloaded .Net pre-req, and created an Azure PAT token as specified, but when I run the CLI, I get confirmation that it has connected to my Azure org and project, but then it just sits, and does nothing (as per screenshot below). I can confirm the target output folder exists. I have also tried to filter against one specific release pipeline, but still I get no output after the connection is made...

1- Is there any way to get some more verbose logging about what it is doing, or if it has perhaps errored in the background? 2- Does the --filter require a release pipeline 'Name' or 'ID' as the value?

image

Thank you

f2calv commented 3 years ago

Can you provide the full command line you are using? (obsfucated in key areas of course!)

darrens280 commented 3 years ago

yamlizr generate -pat "xxxxxxxxxxxxxxxx" -org "xxxxxxxx" -proj "xxxxxxxxxxx" -out "c:/temp/myoutputfolder" --filter "my-azure-report"

Tried single quotes, and double quotes Tried fwd slashes, and back slashes for the output path Same result

System:

NOW RESOLVED: I tried it using the normal PowerShell console (As admin), and all worked as expected, and the ouput .yml files were generated straight away.

Thanks