开发者

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

开发者 https://www.devze.com 2022-12-14 12:05 出处:网络
I asked this similar question and got a satisfactory answer. However, doing the same with SVNPoller doesn\'t work.

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

精彩评论

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