[us...@bb.net] Redirect to configured URL in Buildbot 1.0

2018-03-01 Thread Will Rosecrans
I am in the process of updating configs from Buildbot 0.8 to 1.0, and it's a bit fussier about which URL is used to access it. So if the configured URL is http://buildmaster.myteam.example.com and somebody accesses it through a short name like http://buildmaster.myteam, buildbot grumbles with a

Re: [us...@bb.net] How to make a step failing from LineConsumerLogObserver

2018-03-01 Thread Cipi Bad
Sorry, Full code bellow: class MyShellCommand(shell.ShellCommand): def __init__(self, **kwargs): shell.ShellCommand.__init__(self, **kwargs) self.addLogObserver('stdio', logobserver.LineConsumerLogObserver(self.logConsumer)) self.testFailed = False def

Re: [us...@bb.net] How to make a step failing from LineConsumerLogObserver

2018-03-01 Thread Cipi Bad
Hi, Something like bellow should work. BR, cipibad class MyShellCommand(shell.ShellCommand): def logConsumer(self): while True: stream, line = yield if line.find('TEST_FAILURE_INDICATOR') != -1: self.testFailed = True return

[us...@bb.net] How to make a step failing from LineConsumerLogObserver

2018-03-01 Thread Martin Liška
Hi. I would consider it handy to run a command and make an output analysis in LineConsumerLogObserver. Doing that I would like to fail a build step, is it somehow possible? Thanks, Martin ___ users mailing list users@buildbot.net