[Buildbot-devel] Serial numbering of builds
john.pye at student.unsw.edu.au
Thu May 18 05:21:15 UTC 2006
I'm using Buildbot to generate 'latest build' RPMs which buildbot
uploads to web page whenever the build completes successfully. This all
works pretty well, and was very straightforward to set up.
The problem here is that the filename for the uploaded file is generated
on the basis of a hand-entered version number that is written into one
of my source files (SConstruct, to be precise). So I have to remember to
bump the version number, which doesn't really make sense in the context
of 'latest builds'. A serial number of some sort is better, preferably
based off the SVN revision number.
I would like to get some kind of build numbering based on the revision
number in the repository. Can Buildbot tell me what is the current
revision number from SVN (step.SVN), so that I can pass it into my build
script (step.Compile)? How would I do that?
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
More information about the devel