[users at bb.net] processing stdio after command execution
honas grael
honasgraeymael at gmail.com
Wed Oct 23 20:37:23 UTC 2019
Hello I'm looking to process the output of a command in a buldstep. for
example
from buildbot.plugins import util, steps
f = util.BuildFactory()f.addSteps([
steps.ShellCommand(command=["cmd /k","adamake", "all_my_files"])])
this command produces a whole bunch of output which shows up
in the stdio of the buildstep.
I simply want to parse the text output so I can find certain
specific errors.
Is there a way to process this kind of output.
I am looking at setupLogsRunCommandAndProcessResults
<http://docs.buildbot.net/latest/developer/cls-buildsteps.html?highlight=logfile#buildbot.process.buildstep.LoggingBuildStep.logfiles>.
not sure where I add code to process the results of the command
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20191023/738efb25/attachment.html>
More information about the users
mailing list