svn revision available in Ant OR automatic tagging of successful builds

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      It would be quite useful to have the revision number of the source code available as an Ant variable.
      Imagine a scenario where I have an Ant task as part of my build to tag my SVN repository when my test
      suite passes. Without knowing which revision I am currently using I end up using HEAD to create a tag.
      But inbetween starting the test suite and a successful test run, someone else could've checked in
      changes that will later break the build. Because I tag using HEAD I tag their new (and untested) changes
      too.

      An alternative to providing the SVN revision number to Ant would be to provide a configuration option
      to automatically tag the build after a successful run, essentially automating the functionality added in
      1.100.

      Thanks,

      Lakhdip

            Assignee:
            Unassigned
            Reporter:
            lnagra
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: