| Summary: | [ews] add build step to set custom build summary | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
| Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aakash_jain, ap, jbedard, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 207027 | ||||||
| Attachments: |
|
||||||
|
Description
Aakash Jain
2020-01-30 18:59:46 PST
Created attachment 389325 [details]
Patch
Sample runs: https://ews-build.webkit-uat.org/#/builders/8/builds/102 https://ews-build.webkit-uat.org/#/builders/8/builds/103 Comment on attachment 389325 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389325&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:2021 > + self.build.buildFinished([build_summary], self.build.results) What is self.build.results? (In reply to Jonathan Bedard from comment #3) > What is self.build.results? results is a variable inside Build class https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/build.py#L77 It stores the current result based on the steps which have executed. This I am trying SetBuildSummary to set the same overall build status which Buildbot would have set otherwise, based on the status of previously executed steps. (In reply to Aakash Jain from comment #4) > (In reply to Jonathan Bedard from comment #3) > > What is self.build.results? > results is a variable inside Build class > https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/ > build.py#L77 > > It stores the current result based on the steps which have executed. > > This I am trying SetBuildSummary to set the same overall build status which > Buildbot would have set otherwise, based on the status of previously > executed steps. Can we contrive an example where Python 2 fails, but python 3 does not? I think this is right, but that's the only case we haven't tested. (In reply to Jonathan Bedard from comment #5) > Can we contrive an example where Python 2 fails, but python 3 does not? I think this is right, but that's the only case we haven't tested. Will provide that in https://bugs.webkit.org/show_bug.cgi?id=207027 Comment on attachment 389325 [details] Patch Clearing flags on attachment: 389325 Committed r255506: <https://trac.webkit.org/changeset/255506> All reviewed patches have been landed. Closing bug. |