[Buildbot-devel] issue with PBChangeSource
Xavier Delannoy
xavier.delannoy at bizanga.com
Thu Aug 7 18:44:59 UTC 2008
Hi all,
I use buildbot 0.7.8 (great project!), but in the build summary, I'm unable to have the section "All Changes".
For a build Summary I've got the following section :
Results, SourceStamp, Buildslave, Reason, Steps and Logfiles, Build Properties, Blamelist.
The Blamelist section has always the same value : "no responsible users"
In the waterfall view, I'm able to see the changes (and the details of the change).
Example :
{{{
Changed by: xavier
Changed at: Thu 07 Aug 2008 17:56:43
Revision: 8469
Changed files:
* branches/Tugela/imp/daemon/bizaqm/scripts/install.pl
Comments:
Fix #1561
}}}
The source repository is Subversion :
{{{
#svn --version
svn, version 1.4.3 (r23084)
compiled Oct 15 2007, 08:44:11
Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
}}}
Here's my Subversion post-commit hook :
cat post-commit
#!/bin/sh
# POST-COMMIT HOOK
#
REPOS="$1"
REV="$2"
/usr/share/buildbot/contrib/svn_buildbot.py --repository "$REPOS" --revision "$REV" --bbserver localhost --bbport 9989
here's my master.cfg.
================== Master.cfg Begin ================
# -*- python -*-
# ex: set syntax=python:
BUILDBOT_SCRIPT_DIR = "/home/buildbot/bot_scripts"
c = BuildmasterConfig = {}
####### BUILDSLAVES
c['bots'] = [("bizu32-01", "0IMPimp1"), ("bizu64-01", "0IMPimp1"),]
c['slavePortnum'] = 9989
####### CHANGESOURCES
from buildbot.changes.pb import PBChangeSource
c['change_source'] = PBChangeSource()
####### SCHEDULERS
## configure the Schedulers
from buildbot.scheduler import Scheduler, Periodic, Nightly
# We build and test every 6 hours
c['schedulers'] = []
c['schedulers'].append(Periodic("IMP_every_6_hours",
["bizu32-Tugela-IMP"],
6*60*60 ))
####### BUILDERS
from buildbot.process import factory
from buildbot.steps import source, shell
from buildbot.steps.shell import ShellCommand, Compile
from buildbot import locks
from extensions import IMP_BuildFactory, AQM_BuildFactory
# Lock : only one build on each buildslave at the same time
#
buildLock = locks.SlaveLock("Building", maxCount=1)
#### BUILDERS: buildIMP
#
buildIMP = IMP_BuildFactory('clobber', 'svn+ssh://dev@dev2.eng/svn/bizanga/', 'branches/Tugela')
#### BUILDERS: buildAQM
#
buildAQM = AQM_BuildFactory('clobber', 'svn+ssh://dev@dev2.eng/svn/bizanga/', 'branches/Tugela')
c['builders'] = []
c['builders'].append(
{'name':'bizu32-Tugela-IMP',
'slavename':'bizu32-01',
'builddir':'Tugela-IMP',
'factory':buildIMP,
'locks': [buildLock]})
c['builders'].append(
{'name':'bizu32-Tugela-AQM',
'slavename':'bizu32-01',
'builddir':'Tugela-AQM',
'factory':buildAQM,
'locks': [buildLock]})
c['builders'].append(
{ 'name':'bizu64-Tugela-AQM',
'slavename': 'bizu64-01',
'builddir':'Tugela-AQM64',
'factory': buildAQM,
'locks': [buildLock]})
####### STATUS TARGETS
c['status'] = []
from buildbot.status import html
c['status'].append(html.Waterfall(http_port=9000, css="/home/xavier/buildbot/css/classic.css"))
####### PROJECT IDENTITY
c['projectName'] = "Bizanga"
c['projectURL'] = "http://dev2.eng.bizanga.com/"
c['buildbotURL'] = "http://dev2.eng.bizanga.com:9000/"
================== Master.cfg End ==========
Maybe I do something wrong in my master.cfg or something else.
Thanks for the help.
More information about the devel
mailing list