[Buildbot-devel] null values of revision from WithProperties

John Pye john.pye at student.unsw.edu.au
Fri Jun 2 07:30:14 UTC 2006


Hi all,

I downloaded buildbot 0.7.3 and tried to use the new WithProperties
feature to get BuildBot to output a file with a subversion revision
number as its prefix.

I used the following in my master.cfg:

    141 compile4 =s(step.ShellCommand
    142     , command = ["scons"
    143         , "DISTTAR_NAME=ascend"
    144         , step.WithProperties("RELEASE=0.%(revision)s")
    145         , "dist"
    146     ]
    147 )

The resulting command shows up in my BuildBot logs as

	scons DISTTAR_NAME=ascend RELEASE=0. dist


which shows that the revision number is being evaluated as None. You can
see the full details here:
http://buildbot.cruncher2.dyndns.org/ascend-rpmbuild/builds/4*

*Can anyone suggest what I might be doing wrong here? Could it be due to
the fact that I used a "forced build", simply?

Cheers
JP

-- 
John Pye
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney  NSW 2052  Australia
t +61 2 9385 5127
f +61 2 9663 1222
mailto:john.pye_AT_student_DOT_unsw.edu.au
http://pye.dyndns.org/





More information about the devel mailing list