Skip to content

Custom reporter #86

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

Merged
merged 32 commits into from
Nov 26, 2020
Merged

Custom reporter #86

merged 32 commits into from
Nov 26, 2020

Conversation

suryart
Copy link
Collaborator

@suryart suryart commented Nov 4, 2020

This PR adds:

  • Command to generate the build report: generate-report <build-id>
  • Interface for fetching the report data in JSON from the API.
  • Saving JSON and HTML file that's generated in the same directory where the command was run.
  • Always generates the reports in sync CLI mode.

user: bsConfig.auth.username,
password: bsConfig.auth.access_key,
},
rejectUnauthorized: false,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this once done with testing.


if (build) {
message = `${
Constants.userMessages.BUILD_GENERATE_REPORT_FAILED.replace('<build-id>>', buildId)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<build-id>> should this be <build-id>

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@prateekbstack
Copy link
Collaborator

LGTM

@suryart suryart merged commit 591e030 into master Nov 26, 2020
@suryart suryart deleted the custom-reporter branch November 26, 2020 12:14
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.

3 participants