In our pipelines, we run a command (in the .yml file) which creates a json file and an xml file. Is it possible to parse one of these and display some of the data from it in the pipeline?
I'm not clear on exactly how or where you want to display the data. The easiest way would be to simply print the data to standard output so that you can see it in the logs. Another possibility is make it available as an artifact which you can then download from the pipeline result page: https://confluence.atlassian.com/bitbucket/using-artifacts-in-steps-935389074.html
The xml/json structure is quite complex and contains a lot of data we don't really care about. I'd just like to parse this and display on screen some of it.
It doesn't really matter where it's displayed as long as it's easily accessible.
It looks like you're new here. Sign in or register to get started.