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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't really matter where it's displayed as long as it's easily accessible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.