Azure DevOps Dashboard to run inline python and show output as widget

196 views Asked by At

Using Azure DevOps, you can create YAML pipelines to run python file or inline python scripts. Is there a proper way to show any of the inline python script output to azure dashboard widget?

I couldn't find any extension in the azure marketplace that can achieve this. What are my options here?

1

There are 1 answers

1
Antebios On

I think you are going to have to create your own custom widget via an ADO extension. The framework examples say to use TypeScript. I have created ADO extensions to be used in pipelines, but not a widget extension. You might have to create two components: a pipeline to execute and generate the output, and then a widget to read that output. I would try the route of creating a Widget first encapsulating all of the logic that you want to execute, prefable in TypeScript.