Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: v1.13
Wiki Markup

Please note the version 1.10 is compatible with hudson 279 or later. For older builds, please use 1.9.

What does this do?


This plugin automatically performs subversion tagging (technically speaking svn copy) on successful build.

This is useful when you want to access the stable codebase. The Subversion Plugin has support for manually tagging a particular build via Hudson's user interface. This plugin is for automatic tagging as part of the build.

How tagging works?

  1. Read Subversion authentication information from Hudson's Subversion SCM configuration.
  2. Delete the existing tag if exists.
  3. Perform URL to URL svn copy.

Please note that svn copy is cheap because it doesn't duplicate file contents when not necessary. URL to URL copy is also fast because there is no data transfer from Hudson to Subversion, unlike maven scm plugin's "tag" goal. The tag base URL must be created in advance.


Subversion Authentication

When you specify subversion repo repository URL, you are requested to enter authentication information. The values are stored in hudson.scm.SubversionSCM.xml in HUDSON_HOME directory. This plugin obtains the authentication information directly from Hudson core's Subversion SCM class so the principal and credential specified here is used for subversion authentication.


  • Any authentication method supported by Hudson Subversion core (SubversionSCM.class) should work from v1.4, but haven't tested. Please create an issue ticket if you successfully tag with the authentication methods other than username / password. Please contact me if you have problems with other authentication scheme.
  • Tagging for the project with multiple locations that are not symmetric and needed to be tagged in the different depth are not supported yet. This should be able to be addressed by specifying tag base URL per location, but haven't implemented yet.


Please create an issue ticket and specify svn-tag as the sub-component when you find bugs, improvement ideas, or create a patch.
Please include the version of svn-tag plugin, subversion repository URL location(s), tag base URL, and the layout of your svn repositories.


02/02/10 Version 1.13

  • Update code for more recent Hudson.

    This version requires Hudson 1.319 or later.

09/21/09 Version 1.12

  • Fixed URL escape issue reported at in JENKINS-4453.
  • Added text fields for subversion comment used when deleting an old tag and creating intermediate tag directory requested by JENKINS-4507.

01/29/09 Version 1.10

  • Reflected the patch to support promoted build action. See ticket JENKINS-2924 for the details. Thanks for to Ertan.

    This version requires Hudson build 1.279 or later.

08/14/08 Version 1.9

08/14/08 Version 1.8

  • Fixed issue JENKINS-2201 that the last path was created when the intermediate directories were created and resulted in the two levels of the last path.


  • Added the support for multiple subversion repositories.

05/11/08 Version 1.2

  • Added groovy expression support in tag base URL.
    titleChange in tag base URL

    Wiki Markup
    The tag base URL no longer appends job name implicitly at the end since this version. Please add '$\{env\['JOB_NAME'\]\}' if you upgrade from version 1.1 and want to keep the original behavior.


04/17/08 Version 1.0

  • Initial checkin.