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 skip reason for skipped tasks in build summary table #49

Merged
merged 11 commits into from
Aug 30, 2024

Conversation

mw-kapilg
Copy link
Contributor

Fixes #43 by showing skip reason in build summary table

Sample:
Screenshot 2024-08-20 114151

src/buildSummary.unit.test.ts Outdated Show resolved Hide resolved
plugins/+ciplugins/+github/BuildSummaryPlugin.m Outdated Show resolved Hide resolved
src/buildSummary.ts Outdated Show resolved Hide resolved
plugins/+ciplugins/+github/BuildSummaryPlugin.m Outdated Show resolved Hide resolved
src/buildSummary.ts Outdated Show resolved Hide resolved
@mw-kapilg
Copy link
Contributor Author

mw-kapilg commented Aug 29, 2024

I've updated the MATLAB Build summary table to be consistent with Jenkins. Changes include:

  • First column header text: MATLAB Build Task -> MATLAB Task
  • Duration column header time format: HH:MM:SS -> HH:mm:ss (as per MATLAB doc)
  • Successful task status: Passed -> Successful

Jenkins PR

Screenshot 2024-08-29 105717

} else {
return [t.name, '🟢 Success', t.description, t.duration.toString()];
return [t.name, '🟢 Successful', t.description, t.duration];
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
return [t.name, '🟢 Successful', t.description, t.duration];
return [t.name, '🟢 Succeeded', t.description, t.duration];

The group preferred "Succeeded" over "Successful" to better match "Failed" and "Skipped".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Mark for checking with the group! I preferred "Successful" more but I guess it's fair enough to use "Succeeded" as we have "Failed" and "Skipped"

@mw-kapilg mw-kapilg merged commit 69ec44a into main Aug 30, 2024
1 check passed
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.

Provide skip reason for tasks being skipped.
5 participants