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.
精彩评论