开发者

buildbot: run SVNPoller with --trust-server-cert

I asked this similar question and got a satisfactory answer. However, doing the same with SVNPoller doesn't work.

So how ca开发者_开发技巧n I pass --trust-server-cert as an extra param to SVNPoller in buildbot


class MyPoller(SVNPoller):
    def __init__(...):
        SVNPoller.__init__(self, ...)

    def getProcessOutput(self, args):
        args += ["--trust-server-cert"]
        return SVNPoller.getProcessOutput(self, args)


Use extra_args if specified, an array of strings that will be passed as extra arguments to the svn binary.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜