buildbot - how do I trigger a build from a script with no SC -
we using buildbot our existing continuous integration system. artifacts built , ready go , want buildbot execute commands on slaves. working how trigger build script not tied source control in way. same clicking force build web gui?
all triggers seem expect buildbot interacting source control in way.
i got work follows:
add change source of type pbchangesource
c['change_source'].append( pb.pbchangesource(port=9999, user='foo', passwd='foo') ) add category filter:
from buildbot.changes.filter import changefilter my_filter = changefilter(category='default') add singlebranchscheduler filter:
from buildbot.schedulers.basic import singlebranchscheduler c['schedulers'] = [] c['schedulers'].append( singlebranchscheduler(name='waiter', buildernames=["foo"],change_filter=my_filter) ) from command line call:
buildbot sendchange -m your.0.0.ip:9999 -a foo:foo -w scriptbot -c default
Comments
Post a Comment