diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 2b1379f5..e75fbc9d 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -159,7 +159,7 @@ def __init__( kwargs = self.setupShellMixin(kwargs) super().__init__(**kwargs) self.project = project - self.observer = logobserver.BufferLogObserver() + self.observer = logobserver.BufferLogObserver(wantStderr=True) self.addLogObserver("stdio", self.observer) self.supported_systems = supported_systems @@ -172,6 +172,11 @@ def run(self) -> Generator[Any, object, Any]: # if the command passes extract the list of stages result = cmd.results() if result == util.SUCCESS: + log.info(self.observer.getStderr()) + self.addHTMLLog( + "Evaluation Warnings", f"
{self.observer.getStderr()}
" + ) + # create a ShellCommand for each stage and add them to the build jobs = []