Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JUnit, JSON Reporters not working #89

Closed
khanali21 opened this issue Dec 11, 2018 · 2 comments
Closed

JUnit, JSON Reporters not working #89

khanali21 opened this issue Dec 11, 2018 · 2 comments

Comments

@khanali21
Copy link

Hi,
I am running inspec with
--reporter cli junit:/src/TEST-project-validation.xml json:/src/TEST-project-validation.json

with inspec-gcp
But somehow I am not getting the Junit or Json reports.
The results are only appearing on the screen.

Are other reporters supported?
thanks
Ali

@skpaterson
Copy link

hi @ali-himindz - reporters should work fine. For example, I get expected outputs from:

inspec exec . -t gcp:// --attributes=myattributes.yaml --reporter cli junit:test.xml json:output.json

Can you confirm the full command being run as well as the InSpec version?

skpaterson pushed a commit that referenced this issue Mar 1, 2019
@skpaterson
Copy link

Closing out for now as this cannot be reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants