Changeset 245282 in webkit
- Timestamp:
- May 14, 2019, 9:18:24 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
BuildSlaveSupport/ews-app/ews/views/statusbubble.py (modified) (2 diffs)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py
r244930 r245282 72 72 73 73 if build.result is None: # In-progress build 74 bubble['state'] = 'started' 74 if self._does_build_contains_any_failed_step(build): 75 bubble['state'] = 'provisional-fail' 76 else: 77 bubble['state'] = 'started' 75 78 bubble['details_message'] = 'Build is in-progress. Recent messages:\n\n' + self._steps_messages(build) 76 79 elif build.result == Buildbot.SUCCESS: … … 151 154 return not filter(lambda step_to_hide: re.search(step_to_hide, step.state_string), StatusBubble.STEPS_TO_HIDE) 152 155 156 def _does_build_contains_any_failed_step(self, build): 157 for step in build.step_set.all(): 158 if step.result and step.result != Buildbot.SUCCESS: 159 return True 160 return False 161 153 162 def _most_recent_step_message(self, build): 154 163 recent_step = build.step_set.last() -
trunk/Tools/ChangeLog
r245281 r245282 1 2019-05-14 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-app] Status bubble should turn orange when any build step fails 4 https://bugs.webkit.org/show_bug.cgi?id=197812 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: 9 (StatusBubble._build_bubble): Turn status-bubble orange if there is any failed step in the on-going build. 10 (StatusBubble._does_build_contains_any_failed_step): Method to check if build contains any failed step. 11 1 12 2019-05-14 Alex Christensen <achristensen@webkit.org> 2 13
Note:
See TracChangeset
for help on using the changeset viewer.