Add generateSummary option to control result summary generation#49
Conversation
Hi @mw-kapilg , I have no flags regarding "Generate Results Summary" as the label, but what do you think about a shorter label (i.e., Generate Summary)? (@sameagen-MW: Do you have any flags about the inclusion of Results in Generate Results Summary for the Run MATLAB Command step?) Regarding the help text, maybe we can use a similar pattern as for the MATLAB actions (matlab-actions/run-build#75). In the plugin doc (https://github.com/jenkinsci/matlab-plugin/blob/master/CONFIGDOC.md#view-matlab-build-and-test-results), we have "Jenkins build summary page". So, perhaps something like this? |
Thanks for the suggestions Houman! I'm fine with the shorter "Generate summary" (Notice, s is lowercase to match with other field display names). |
Thanks, Kapil. The changes look good! I just have a couple of clarifying questions:
|
|
Thanks for answering my questions. |



Summary
generateSummaryoption (default:true) to all three MATLAB steps — Run MATLAB Build, Run MATLAB Command, and Run MATLAB Tests — allowing users to opt out of result summary generationgetDefaultPlugins.mto conditionally include theBuildReportPluginbased on theMW_INPUT_GENERATE_SUMMARYenvironment variableBackward Compatibility
Booleanwrapper type withreadResolve()to default existing saved configs totruebooleanprimitive with field initializer astrueHow it looks in Jenkins UI
For Run MATLAB Command step:



For Run MATLAB Tests step:
For Run MATLAB Build step (also added a new "Customize Build Run" section below):