Skip to content

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