[Buildbot-devel] Executing a build depending on two repositories update

Esther Baruk esther.baruk at lexifi.com
Fri Nov 9 08:58:56 UTC 2012


Hello,

So now my tests builder is working perfectly, updating two repositories 
and executing tests in one of them.
Tests builder is launched by a Nightly scheduler, executing the builder 
every two hours between 8am and 8pm.
Recently, I added a Singlebranch scheduler, executing the tests builder 
only if a commit message contains the word "testsfix" so that someone 
breaking tests can commit a fix that relaunches the builder.
All of that is working perfectly.
  My problem is with the mail notification. I have set a MailNotifier 
which sends email to a specific address when a builder status has 
changed. To do that, I just set the "mode" attribute of the MailNotifier 
to "change".

mn = MailNotifier(fromaddr="address at domain.com",
                   subject="%(projectName)s - %(result)s on %(builder)s",
                   sendToInterestedUsers=False,
                   mode=('change'),
                   extraRecipients=["address at domain.com"],
                   relayhost="smtp.host.com",
                   smtpPort=587,
                   smtpUser="user",
                   smtpPassword="password",
                   messageFormatter=html_message_formatter,
                   )

c['status'] = [mn]

Since I added the Singlebranch scheduler to the tests target, mails are 
not received anymore when the tests builder status changes.
Does this have anything to do with the scheduler add ?

Thanks for your help,

Esther Baruk

Le 07/11/2012 09:53, Esther Baruk a écrit :
> Le 06/11/2012 20:14, Tom Prince a écrit :
>> Esther Baruk<esther.baruk at lexifi.com>  writes:
>>
>>> Le 06/11/2012 15:09, Dustin J. Mitchell a écrit :
>>> Right, my problem was in the specification of the workdir.
>> Dustin was refering to setting workdir per step:
>>
>> See workdir here:
>> http://buildbot.net/buildbot/docs/0.8.7/manual/cfg-buildsteps.html#id3
>>
>>    Tom
> Thank you very much for your help!
> Setting the workdir per Source checkout step was the right thing to do.
>
> Cheers,
>
> -- 
> Esther Baruk
>
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
>
>
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel


-- 
Esther Baruk
Software Engineer

LexiFi
49 rue de Billancourt
92100 Boulogne-Billancourt
France

Direcy line: +33 1 41 10 02 67
Switchboard: +33 1 47 43 90 00
www.lexifi.com <http://www.lexifi.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20121109/e8fdf25d/attachment.html>


More information about the devel mailing list