|
# This file is part of Buildbot. Buildbot is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. # # You should have received a copy of the GNU General Public License along with # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Copyright Buildbot Team Members
def reconfigService(self, new_config):
# debug client self.debug_password != new_config.debugPassword)
if self.debug_registration: yield self.debug_registration.unregister() self.debug_registration = None
new_config.slavePortnum, "debug", new_config.debugPassword, factory)
if self.debug_password: self.debug_port = new_config.slavePortnum else:
# manhole self.manhole.disownServiceParent())
# chain up new_config)
def stopService(self): if self.debug_registration: yield self.debug_registration.unregister() self.debug_registration = None
# manhole will get stopped as a sub-service
service.MultiService.stopService(self))
# clean up
pass
revision, properties={}): c = interfaces.IControl(self.master) bc = c.getBuilder(buildername) ss = SourceStamp(branch, revision) bpr = Properties() bpr.update(properties, "remote requestBuild") return bc.submitBuildRequest(ss, reason, bpr)
c = interfaces.IControl(self.master) bc = c.getBuilder(buildername) bc.ping()
log.msg("saying something on IRC") from buildbot.status import words for s in self.master: if isinstance(s, words.IRC): bot = s.f for channel in bot.channels: print " channel", channel bot.p.msg(channel, "Ow, quit it")
log.msg("debug %s" % msg) |