[Buildbot-devel] [help] my buildslave status is always pending...
blue blue
jerrybomb at gmail.com
Wed Jan 10 10:39:37 UTC 2007
Hi, all,
I am a newer to use buildbot.
I need to set the buildmaster with subverion VC system and make the
buildslave to build the source.
I've followed the steps in user manual to setup the information in master.cfg
I could browse the status html page provided by buildmaster.
I can ping the buildslave successfully.
But when I clicked the "force build" button, the status always is "1
pending" and the buildslave won't do the svn update and build!
Here's the part of my settings for SVN in master.cfg
====================================
from buildbot.scheduler import Scheduler
c['schedulers'] = []
c['schedulers'].append(Scheduler(name="svn-hello", branch=None,
treeStableTimer=30,
builderNames=["svn-hello"]))
from buildbot import master
from buildbot.process import factory
from buildbot.steps.source import SVN
from buildbot.steps.shell import Configure, Compile, Test
from buildbot.status import html, client
from buildbot.changes.pb import PBChangeSource
s = factory.s
c['bots'] = [["jerry", "1234"]]
c['sources'] = []
c['sources'].append(PBChangeSource())
c['builders'] = []
svnrep="svn://10.7.14.161/repos"
steps = [
s(SVN,
svnurl=svnrep+"/helloword",
mode="update",
),
s(Configure),
s(Compile, command=["make", "all"]),
s(Test, command=["make", "check"]),
]
b1 = {"name": "svn-hello",
"slavename": "jerry",
"builddir": "helloword",
"factory": factory.BuildFactory(steps),
}
c['builders'].append(b1)
==========================================
Is there any setting wrong?
Or how should I modify the setting to make the buildslave to build?
thanks for your help!!
regards,
Jerry
More information about the devel
mailing list