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

Didier Trosset didier.trosset at acqiris.com
Thu Dec 21 09:59:32 UTC 2006


Bonjour,

Mark Pauley wrote:
> 
> 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).

Yes, it was a prefix trouble. I removed the prefix='/trunk/' from the 
PBChangeSource and it is running smoothly now.

I also understand something else. I want to have two listeners of changes: 
one for the trunk and one for a branch. To achieve this, I don't need to 
create two PBChangeSource. One is enough, without any prefix. I need to 
create two Schedulers, each having its branch parameter set correctly to the 
trunk and branch. And it works now.

Thanks
Didier

> 
> 
> _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
> 
> 

-- 
Didier Trosset-Moreau
Acqiris <www.acqiris.com>
Geneva, Switzerland




More information about the devel mailing list