[Buildbot-devel] RPM filename
Philippe McLean
philippe.mclean at gmail.com
Wed Jul 25 19:47:03 UTC 2012
If you want to use the buildnumber as part of the rpm version, and not just
part of the rpm filename, so that you can upgrade the rpm, then you will
probably want to use a number generated outside the builder. Using a
different builder, or reinstalling your master, will reset the buildnumbers.
On Wed, Jul 25, 2012 at 8:26 AM, Dustin J. Mitchell <dustin at v.igoro.us>wrote:
> On Wed, Jul 25, 2012 at 3:07 AM, Sarah Addis <sarahaddis3 at gmail.com>
> wrote:
> > I'm not sure if this is possible to do or not, at the moment I have a
> > command in my master.cfg file to make an RPM:
> > f.addStep(compile(command="make all_name")) is there any way to pass the
> > build property buildnumber as a parameter so that the buildnumber is
> part of
> > the filename of the RPM? Do I need to look at using the RPMBuild Module?
>
> Yep, you can use Interpolate or WithProperties for that.
>
> Dustin
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120725/bc8be1d5/attachment.html>
More information about the devel
mailing list