Search code examples
pythonsvnproject-managementbuild-processbuildbot

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 can I pass --trust-server-cert as an extra param to SVNPoller in buildbot


Solution

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