Search code examples
antcontinuous-integrationognlluntbuild

How can I get the revision number into an Ant property in Luntbuild?


I'm sure this must be possible:

I want to have the revision number (from Subversion) put into a property that is accessible from Ant when my build runs in Luntbuild. There must be an OGNL expression that I can add to the Build Properties box on the configuration page for my Ant builder.

Does anyone know what it is?


Solution

  • You might find using either the SvnAnt or svntask Ant tasks to get the Subversion revision number directly in your Ant script might be a valid alternative.