In my azure devops release pipeline, i'm running a python script, which eventually logs warning or error based on the my custom logger package. So, in my std output of the azuredevops I see it's working fine.
But, I'm wondering is it possible to display the number of warnings or error on the badge like this below image. I think, you have to use command line loggings. But question comes how can I track the warnings or errors from AzDevops standard output using python.
Any idea and suggestions are welcome.
I tried using this in my python package and it works the way I wanted to.
subprocess.call(["echo", "##vso[task.logissue type=warning;]some warning"])
May be someone can get help out of this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With