[Buildbot-devel] using a poller only for polling one or several files

Pavel Berdnikov pavel.berdnikov at gmail.com
Thu Feb 3 14:28:31 UTC 2011


Hello!

I have a big SVN repository and I have a problem:
I don’t want to use SVN poller for polling whole SVN repository, there
are a lot of changes and I’d like to start a build by changing single
file. Is it possibly in BuildBot?
I tried to set svnurl in the SVNPoller to the single file, but I
received a error:

master.cfg:
svn_poller = SVNPoller(
                    svnurl='http://svn.xxx.com/yyy/trunk/builds.log',
…….
)

twistd.log:
2011-02-02 12:59:55+0300 [-] SVNPoller failed [Failure instance:
Traceback: <type 'exceptions.AssertionError'>: filepath
'trunk/include/version.h' should start with prefix 'trunk/builds.log'
        /localdisk/python-infra/install/lib/python2.7/site-packages/Twisted-10.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:424:_startRunCallbacks
        /localdisk/python-infra/install/lib/python2.7/site-packages/Twisted-10.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:441:_runCallbacks
        /localdisk/python-infra/install/lib/python2.7/site-packages/Twisted-10.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:397:_continue
        /localdisk/python-infra/install/lib/python2.7/site-packages/Twisted-10.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:363:unpause
        --- <exception caught here> ---
        /localdisk/python-infra/install/lib/python2.7/site-packages/Twisted-10.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:441:_runCallbacks
        /localdisk/python-infra/install/lib/python2.7/site-packages/buildbot-0.8.2-py2.7.egg/buildbot/changes/svnpoller.py:468:create_changes
        /localdisk/python-infra/install/lib/python2.7/site-packages/buildbot-0.8.2-py2.7.egg/buildbot/changes/svnpoller.py:418:_transform_path
        /localdisk/python-infra/install/lib/python2.7/site-packages/buildbot-0.8.2-py2.7.egg/buildbot/changes/svnpoller.py:21:_assert
        ]

Thanks a lot for your help, Pavel




More information about the devel mailing list