[ews-build] Improve summary for CheckOutSource step
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2019 22:22:50 +0000 (22:22 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2019 22:22:50 +0000 (22:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195963

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/steps.py:
(CheckOutSource.getResultSummary):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-build/steps.py
Tools/ChangeLog

index 0b2d7e5..7478ebd 100644 (file)
@@ -95,6 +95,12 @@ class CheckOutSource(git.Git):
                                                 progress=True,
                                                 **kwargs)
 
+    def getResultSummary(self):
+        if self.results != SUCCESS:
+            return {u'step': u'Failed to updated working directory'}
+        else:
+            return {u'step': u'Cleaned and updated working directory'}
+
 
 class CleanWorkingDirectory(shell.ShellCommand):
     name = 'clean-working-directory'
index 9acea34..94f91e1 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-19  Aakash Jain  <aakash_jain@apple.com>
+
+        [ews-build] Improve summary for CheckOutSource step
+        https://bugs.webkit.org/show_bug.cgi?id=195963
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/steps.py:
+        (CheckOutSource.getResultSummary):
+
 2019-03-19  Daniel Bates  <dabates@apple.com>
 
         [iOS] Focus not preserved when switching between tabs