[Buildbot-devel] SVN Poller not including username and password ...
Kiffin Gish
kgish at interapy.nl
Wed Aug 19 08:16:47 UTC 2009
It's seems that my build step for extracting the code branch from the
repository is failing because the username and password are NOT being
included in the /usr/bin/svn command line for some reason.
####### BUILD LOG FILE CONTENTS
/usr/bin/svn checkout --revision HEAD --non-interactive --no-auth-cache
http://dev.xxxxxxx.nl/svn/packages/xxxxxxx/trunk build
in dir /home/buildslave/conf/xxxxxxx_build_dev (timeout 1200 secs)
...
svn: PROPFIND request failed on '/svn/packages/xxxxxxx/trunk'
svn: PROPFIND of '/svn/packages/xxxxxxx/trunk': authorization failed (http://dev.xxxxxxx.nl)
####### END
However, if I manually rerun the same command inserting the username and
password, it works just fine, e.g.
/usr/bin/svn checkout --username=builder --password=builder --revision
HEAD --non-interactive --no-auth-cache
http://dev.xxxxxxx.nl/svn/packages/xxxxxxx/trunk build
In master.cfg, I've configured the my svn poller to include username and
password:
####### CHANGESOURCES
svn_poller = SVNPoller(
svnurl=source_code_svn_url,
svnuser='builder',
svnpasswd='builder',
pollinterval=60*15, # seconds
histmax=10,
svnbin='/usr/bin/svn',
)
c['change_source'] = svn_poller
####### END
And the build is configured like this:
####### BUILDERS
steps = [
s(source.SVN,
svnurl="http://dev1.interapy.intermax.nl/svn/packages/OpenCMT/trunk",
mode="clobber"),
...
];
build_factory = factory.BuildFactory(steps)
s(source.SVN,
svnurl="http://dev1.interapy.intermax.nl/svn/packages/OpenCMT/trunk",
mode="clobber")
####### END
Could it be that the previous Trac ticket #41,
http://buildbot.net/trac/ticket/41 has reappeared?
Thanks alot in advance,
Kiffin
--
Kiffin Gish
Interapy Nederland BV
Keizersgracht 424-4
1016 GC Amsterdam
T: +31 (0)20 798 8300
F: +31 (0)20 798 8399
M: +31 (0)61 405 2604
E: kgish at interapy.nl
I: www.interapy.nl
More information about the devel
mailing list