[users at bb.net] buildbot poller question

Glen Neff (gneff) gneff at cisco.com
Tue Jul 23 12:07:27 UTC 2019


I once had to write a change poller plugin for a similar scenario, only it was monitoring a Windows file share, but I believe a similar method could work.  I stored a SHA256 sum of a recursive directory listing for the file tree in question, and the plugin would grab the same listing, and compare the SHA256 sums as the change trigger.

I could share the code if asked nicely.

-G

”””
Glen R. J. Neff      .:|:.:|:.
   Network Consulting Engineer IV
   Cisco: Advanced Services, Advanced Delivery Network
   gneff at cisco.com
”””

From: users <users-bounces at buildbot.net> On Behalf Of Ken Dalka
Sent: Monday, July 22, 2019 15:15
To: users at buildbot.net
Subject: [users at bb.net] buildbot poller question

I’m not sure if this is the right place to ask a question, but I couldn’t find another forum for this.
If this is the wrong place, let me know.


Instead of polling a repository for a change, is there a way to poll a directory?
On a Linux machine, I’d like to check a directory to see if any new files show up and schedule a build when they do.
Unfortunately, I have another automated build system that isn’t using buildbot and I’d like buildbot to do a build whenever the other system finishes a build.



Ken Dalka
Staff Software Engineer
W. H. Leary Company
8440 183rd Place Tinley Park, IL 60487 USA
P. +1 708.444.4900
w. whleary.com<http://www.whleary.com>

[cid:image001.png at 01D54128.FAB08F70]<https://www.whleary.com/sempre-i-cold-glue-application>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20190723/2ec8a0ed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 43452 bytes
Desc: image001.png
URL: <http://lists.buildbot.net/pipermail/users/attachments/20190723/2ec8a0ed/attachment.png>


More information about the users mailing list