<div dir="ltr">Hello I'm looking to process the output of a command in a buldstep. for example<div><br></div><div><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><span class="gmail-kn" style="font-weight:bold">from</span> <span class="gmail-nn" style="color:rgb(85,85,85)">buildbot.plugins</span> <span class="gmail-kn" style="font-weight:bold">import</span> <span class="gmail-n">util</span><span class="gmail-p">,</span> <span class="gmail-n">steps</span>

<span class="gmail-n">f</span> <span class="gmail-o" style="font-weight:bold">=</span> <span class="gmail-n">util</span><span class="gmail-o" style="font-weight:bold">.</span><span class="gmail-n">BuildFactory</span><span class="gmail-p">()</span>
<span class="gmail-n">f</span><span class="gmail-o" style="font-weight:bold">.</span><span class="gmail-n">addSteps</span><span class="gmail-p">([</span>
    <span class="gmail-n">steps</span><span class="gmail-o" style="font-weight:bold">.</span><span class="gmail-n">ShellCommand</span><span class="gmail-p">(</span><span class="gmail-n">command</span><span class="gmail-o" style="font-weight:bold">=</span><span class="gmail-p">["cmd /k",</span><span class="gmail-s2" style="color:rgb(187,136,68)">"ada<span class="gmail-highlighted" style="background-color:rgb(251,229,78)">make</span>"</span><span class="gmail-p">,</span> <span class="gmail-s2" style="color:rgb(187,136,68)">"all_my_files"</span><span class="gmail-p">])</span>
<span class="gmail-p">])</span></pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><span class="gmail-p"><br></span></pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><span class="gmail-p">this command produces a whole bunch of output which shows up </span></pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><span class="gmail-p">in the stdio </span>of the buildstep.</pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">I simply want to parse the text output so I can find certain </pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">specific errors.</pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">Is there a way to process this kind of output.</pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">I am looking at <a href="http://docs.buildbot.net/latest/developer/cls-buildsteps.html?highlight=logfile#buildbot.process.buildstep.LoggingBuildStep.logfiles">setupLogsRunCommandAndProcessResults</a>. </pre><pre style="overflow:auto hidden;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">not sure where I add code to process the results of the command</pre></div></div>