[Buildbot-devel] Change doesn't start a build

Justin Mason jm at jmason.org
Wed Dec 20 18:55:15 UTC 2006


I'm not sure about this -- I haven't checked recently -- but at least in
buildbot 0.6.1 to 0.6.4, the prefix can only match on single components
(directory names) in the path, not on multiple components of the path, since
the path is split into components before matching.  That was the case for the
FreshCVS change source iirc, and therefore may be the case for PBChangeSource,
too. 

I reported this when I submitted my svn-commit.pl change source patch
back in 0.6.1...
http://taint.org/wk/BuildbotSvnCommitChangeSource

--j.

Mark Pauley writes:
> Do you have some log messages for us?
> You could copy the changes out of the waterfall page when they post.
> 
> All of the builds are triggered by string matching, my guess is that  
> your prefix is messing stuff up (I don't use a prefix argument).
> 
> 
> _Mark
> 
> 
> On Dec 19, 2006, at 10:14 PM, Didier Trosset wrote:
> 
> > Mark Pauley wrote:
> >>
> >> PBChangeSource isn't an svn_watcher.  How are you starting an svn
> >> watcher?  How are you adding it to the sources?  Your code below  
> >> would
> >> require the svn post-commit hook to ping your buildmaster.
> >
> > Yes, I have the svn_buildbot.py script called from the post-commit  
> > script of
> > my repository. And the changes do make their way to buildbot, as I  
> > can see
> > them in the HTML waterfall. But they don't trigger the build.
> >
> > Didier
> >
> >>
> >> _Mark
> >>
> >> On Dec 19, 2006, at 1:18 AM, Didier Trosset wrote:
> >>
> >>> Bonjour,
> >>>
> >>> My current setup accepts changes, triggered by a running  
> >>> svn_watcher.py.
> >>> I can start builds on slaves manually through the HTML waterfall  
> >>> page.
> >>>
> >>> But how can the changes start the build automatically?
> >>>
> >>> I tried playing around with the following configuration lines and
> >>> ended up
> >>> with the ones below that seems to match what is said in the
> >>> documentation.
> >>>
> >>> from buildbot.changes.pb import PBChangeSource
> >>> c['sources'].append(PBChangeSource(prefix='/trunk/'))
> >>>
> >>> c['schedulers'].append(Scheduler(name="softdev-x86-update",
> >>> branch="trunk",
> >>>          builderNames=["softdev-x86-update", "softdev-ppc-update"],
> >>>          treeStableTimer=30))
> >>>
> >>> But it stills show the changes in the html, accept manual and  
> >>> nightly
> >>> build
> >>> starts, but never starts a build because of a change.
> >>>
> >>> Thanks
> >>> Didier
> >>>
> >>> --Didier Trosset-Moreau
> >>> Acqiris <www.acqiris.com>
> >>> Geneva, Switzerland
> >>>
> >>> -------------------------------------------------------------------------
> >>> Take Surveys. Earn Cash. Influence the Future of IT
> >>> Join SourceForge.net's Techsay panel and you'll get the chance to
> >>> share your
> >>> opinions on IT & business topics through brief surveys - and earn  
> >>> cash
> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>> _______________________________________________
> >>> Buildbot-devel mailing list
> >>> Buildbot-devel at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> >>
> >>
> >
> > -- 
> > Didier Trosset-Moreau
> > Acqiris <www.acqiris.com>
> > Geneva, Switzerland
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to  
> > share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list