{jenkins-plugin-info:pluginId=svnpublisher}

This plugin allows you to upload artifacts to a subversion repository. This is done via a delete/import of the items requested.



 This plugin is in its infancy and should be used with caution.


SVN URL

The SVN URL is the location you wish to upload the items to.

Target Path

The target path is the location of the target directory in hudson, if the project is not a maven project this can be the root location for the items to be imported.

Import Items

Each import item consists of 3 parts:

POM Path

The pom path is, if using a maven project, the location of the project's pom.xml. This is required if the following variable are to be used.

_MAJOR_ / _MINOR_ / _PATCH_ Paths

The _MAJOR_, _MINOR_, and _PATCH_ variables all require paths to their values from within the pom.xml's project node.

These paths are given in dot notation with index values available.

<project>
<versionA>1</versionA>
<properties>
<minor>2</minor>
<deep>
<patchBuild>3.456</patchBuild>

</deep>

</properties>

</project>

Using the above example the following paths and their results could be used:

versionA  -> 1

properties.minor  -> 2

properties.deep.patchBuild[0]  -> 3

properties.deep.patchBuild[1] -> 456

(warning) Currently only dot separated version numbers can be indexed.

Change Log

Version 0.1 (Jan 10, 2010)