public final class RevisionUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
AT_SYMBOL |
| Modifier and Type | Method and Description |
|---|---|
static org.tmatesoft.svn.core.wc.SVNRevision |
getRevision(SubversionSCM.ModuleLocation location,
RevisionParameterAction revisionParameterAction,
SubversionSCM.RevisionPolicy revisionPolicy,
Date queueTime,
Date buildTime)
Returns
SVNRevision based on the following logic:
if repository URL is url@rev then this method returns specified revision. |
public static final char AT_SYMBOL
public static org.tmatesoft.svn.core.wc.SVNRevision getRevision(SubversionSCM.ModuleLocation location, RevisionParameterAction revisionParameterAction, SubversionSCM.RevisionPolicy revisionPolicy, Date queueTime, Date buildTime)
SVNRevision based on the following logic:
url@rev then this method returns specified revision.
SvnInfo.revision will be used
QUEUE_TIME policy was chosen then revision created base on build scheduled time will be used
BUILD_TIME policy was chosen then revision created base on build run time will be used
HEAD policy was chosen then HEAD revision will be used
location - module location.revisionPolicy - global revision policy.queueTime - when the build is scheduled.buildTime - when the build is started.revisionParameterAction - revisionParameterAction.SVNRevision.Copyright © 2004-2015 Hudson. All Rights Reserved.