diff options
-rw-r--r-- | buildstream/element.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 917a9e762..3c532c716 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -1618,7 +1618,14 @@ class Element(Plugin): with self.timed_activity("Pushing artifact"): # Push all keys used for local commit - return self.__artifacts.push(self, self.__get_cache_keys_for_commit()) + pushed = self.__artifacts.push(self, self.__get_cache_keys_for_commit()) + if not pushed: + return False + + # Notify successful upload + display_key = self.__get_brief_display_key() + self.info("Pushed artifact {}".format(display_key)) + return True # _shell(): # |