SvnCheckout.md

November 10, 2016 ยท View on GitHub

SvnCheckout task

Creates an SVN workspace by checking out an SVN URL to a local directory. Also supports updating an existing workspace. If you just need the versioned files without SVN metadata, use the SvnExport task.

Configuration

PropertyDescriptionDefault value
svnUrlThe remote repository URL (required)
workspaceDirThe target directory for checkout (required). If it doesn't exist it will be created. If it exists (and the update flag is not set) it must be empty
revisionThe revision number to be checked outHEAD
depthThe checkout depth - either empty, files, immediates, or infinity. See SvnDepthinfinity
usernameThe SVN username - leave empty if no authentication is required$project.svntools.username
passwordThe SVN password - leave empty if no authentication is required$project.svntools.password
updateIf "workspaceDir" already contains checked-out data, update it instead of performing a fresh checkoutfalse

Example

See checkout examples