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

Add ability to ouput results as JSON #1177

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Add ability to ouput results as JSON #1177

merged 1 commit into from
Nov 29, 2021

Conversation

absolute-heike
Copy link
Contributor

@absolute-heike absolute-heike commented Nov 23, 2021

This adds the --outputJSON parameter so the resulting JSON can be used locally or on CI for further automations.

Example usage: danger local --outputJSON

STDOUT Output

{
  "fails": [],
  "warnings": [],
  "messages": [    
    {
      "message": "foobar"
    }
  ],
  "markdowns": []
}

@orta
Copy link
Member

orta commented Nov 29, 2021

This seems reasonable to me, unsure what's up with circle there

@orta orta merged commit d8ac772 into main Nov 29, 2021
@absolute-heike absolute-heike deleted the output-json branch December 22, 2021 16:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants