git_buildbot.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:buildbot-contrib 作者: buildbot 项目源码 文件源码
def send_changes():
    # Submit the changes, if any
    if not changes:
        logging.warning("No changes found")
        return

    host, port = master.split(':')
    port = int(port)

    f = pb.PBClientFactory()
    d = f.login(credentials.UsernamePassword(username, auth))
    reactor.connectTCP(host, port, f)

    d.addErrback(connectFailed)
    d.addCallback(connected)
    d.addBoth(cleanup)

    reactor.run()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号