[Buildbot-devel] WithProperties got_revision behaviour

Paolo Invernizzi paolo.invernizzi at srlabs.it
Mon Nov 10 12:48:34 UTC 2008


Hi all,

In buildbot 7.7.9 I've a ShellCommand step that's used to build the  
trunk and a branch subversion project, like this:
   ShellCommand(command=["python","yabba.py", WithProperties("% 
(got_revision)s")])

The revision properties is set in the trunk build to the correct  
value, but is None in the branch. The Waterfall page of the branch  
build has correct information about the change:

All Changes
Changed by: dummy
Changed at: Mon 10 Nov 2008 13:13:08
Branch: branches/rel_1_1
Revision: 4941
Changed files:
dummy/res/manual/en/index.html
Comments:
TEST

But the build properties are like:

Build Properties:
Name Value Source
branch branches/rel_1_1 Build
buildername rel_1_1 optimized Build
buildnumber 49 Build
got_revision None Source
revision None Build
scheduler branch quick Scheduler
slavename babele BuildSlave
warnings-count 0 WarningCountingShellCommand

Someone can give me some hints? Why the revision and got_revision  
properties of the build are None?
Everything goes well if, instead of the branches/rel_1_1 I trigger a  
trunk compilation.

The buildbot is triggered by the utils/svn_buildbot.py script...

Thanks!
Paolo Invernizzi





More information about the devel mailing list