Bruno CLI output format #1068
-
I just switched from Postman to Bruno, because Bruno looks very promissing. By the way, you all are doing a great job! But now I came to a point where I have no adequate solution with Bruno. I use Bruno CLI with Jenkins like I used Postman newman with Jenkins in the passed. This works till now really good. But the output format of the json file that is produced by Bruno CLI is not working with Jenkins in the way I used to have it integrated with Postmans newman CLI. With newman, there was the possibility to have a second reporter that created junit files. Are different reporters maybe planned to be integrated into Bruno CLI, or does somebody have an idea how to get the json format of the output file transformed to a junit format? Thank you in advance for help and an answer. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Make sure you upgrade to the latest version of bruno (npm update -g @usebruno/cli if you've already installed, npm install -g @usebruno/cli if a new install). You should be able to use the --format flag in the cli: bru run --output results.xml --format junit confirm that bru --version is > 1.3.0 if you're still not seeing the junit format option |
Beta Was this translation helpful? Give feedback.
-
Can we integrate report portal agent with usebruno cli? |
Beta Was this translation helpful? Give feedback.
-
Can we pass multiple reporters in the command like below |
Beta Was this translation helpful? Give feedback.
Make sure you upgrade to the latest version of bruno (npm update -g @usebruno/cli if you've already installed, npm install -g @usebruno/cli if a new install). You should be able to use the --format flag in the cli:
bru run --output results.xml --format junit
bru run --help # to see more options
confirm that bru --version is > 1.3.0 if you're still not seeing the junit format option