I am using buildbot to build a firmware image from a bunch of other pre-built artifacts. The pre-built artifacts are built using a different system(jenkins) which is not under my control. I want to automatically kick off a new build when new artifacts are available. Since it's not under my control I can't add anything to "trigger" buildbot. I need a poll-based approach. What's the best way to do something like this with buildbot? Should I treat the pre-built artifacts as "source" and make a JenkinsPoller that extends PollingChangeSource? Should I create a new scheduler that polls jenkins?
Asked
Active
Viewed 597 times
2 Answers
2
So I ended up implementing a PollingChangeSource called JenkinsPoller with code lifted from GoogleCodeAtomPoller.

Ryan Nowakowski
- 811
- 7
- 10
0
I'd use a PBSource in buildbot and have Jenkins call buildbot sendchange
as the last step after creating its artifacts.
buildbot sendchange --master {MASTERHOST}:{PORT} --auth {USER}:{PASS}
--who {USER} {FILENAMES..}
see: http://buildbot.readthedocs.org/en/latest/manual/cmdline.html

David Dean
- 2,682
- 23
- 34
-
Unfortunately I don't have any control over the Jenkins install so I can't add anything. – Ryan Nowakowski Jun 03 '13 at 20:36