[users at bb.net] Help with new buildstep.
Hugh Sorby
h.sorby at auckland.ac.nz
Mon Feb 19 02:54:47 UTC 2018
Hi All,
I'm trying to update an old buildstep to the 'new-style'. What I used to do was pass the stdio log line by line looking for a matching string. Now using the 'run' method I have
@defer.inlineCallbacks
def run(self):
command = self.command
cmd = yield self.makeRemoteShellCommand(command=command, collectStdout=True, stdioLogName="stdoutLog")
yield self.runCommand(cmd)
defer.returnValue(cmd.results())
but I'm unsure of how or when I should parse the log and set the result. I don't actually think I need to collect stdout but I have left it in here as I was testing out some ideas.
Many thanks for any help or pointers,
Hugh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180219/fe804bd2/attachment.html>
More information about the users
mailing list