summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/buildinfohelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 2d1ed51116..6e313fee8b 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -704,7 +704,7 @@ class BuildInfoHelper(object):
704 ## methods to convert event/external info into objects that the ORM layer uses 704 ## methods to convert event/external info into objects that the ORM layer uses
705 705
706 706
707 def _get_build_information(self): 707 def _get_build_information(self, consolelogfile):
708 build_info = {} 708 build_info = {}
709 # Generate an identifier for each new build 709 # Generate an identifier for each new build
710 710
@@ -713,7 +713,7 @@ class BuildInfoHelper(object):
713 build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0] 713 build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0]
714 build_info['started_on'] = timezone.now() 714 build_info['started_on'] = timezone.now()
715 build_info['completed_on'] = timezone.now() 715 build_info['completed_on'] = timezone.now()
716 build_info['cooker_log_path'] = self.server.runCommand(["getVariable", "BB_CONSOLELOG"])[0] 716 build_info['cooker_log_path'] = consolelogfile
717 build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0] 717 build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0]
718 build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0] 718 build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0]
719 719
@@ -847,9 +847,9 @@ class BuildInfoHelper(object):
847 logger.warn("buildinfohelper: cannot identify layer exception:%s ", nee) 847 logger.warn("buildinfohelper: cannot identify layer exception:%s ", nee)
848 848
849 849
850 def store_started_build(self, event): 850 def store_started_build(self, event, consolelogfile):
851 assert '_pkgs' in vars(event) 851 assert '_pkgs' in vars(event)
852 build_information = self._get_build_information() 852 build_information = self._get_build_information(consolelogfile)
853 853
854 build_obj = self.orm_wrapper.create_build_object(build_information, self.brbe, self.project) 854 build_obj = self.orm_wrapper.create_build_object(build_information, self.brbe, self.project)
855 855