public class CvsProjectset extends AbstractCvs
Modifier and Type | Class and Description |
---|---|
static class |
CvsProjectset.CvsProjectsetDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson
DATE_FORMATTER
PERMISSIONS, TAG
Constructor and Description |
---|
CvsProjectset(CvsRepository[] repositories,
boolean canUseUpdate,
String username,
String password,
CVSRepositoryBrowser browser,
boolean skipChangeLog,
boolean pruneEmptyDirectories,
boolean disableCvsQuiet,
boolean cleanOnFailedUpdate,
boolean forceCleanCopy) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
File changelogFile) |
void |
checkout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState baseline) |
protected PollingResult |
compareRemoteRevisionWith(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline) |
RepositoryBrowser |
getBrowser() |
CvsProjectset.CvsProjectsetDescriptor |
getDescriptor()
Gets the descriptor for the current plugin.
|
Secret |
getPassword() |
CvsRepository[] |
getRepositories()
Gets a list of all repositories configured for this job.
|
String |
getUsername() |
boolean |
isCanUseUpdate()
Whether CVS update can be used in place of CVS checkout if a workspace is already checked out.
|
boolean |
isCleanOnFailedUpdate()
Allows cleaning of the workspace with a fresh checkout if CVS update fails.
|
boolean |
isDisableCvsQuiet()
CVS is normally run in quiet mode to reduce un-needed log output.
|
boolean |
isFlatten()
Whether to checkout an individual module's files directly into the workspace root
rather than into a subdirectory of the module name.
|
boolean |
isForceCleanCopy()
Controls whether CVS should apply the 'C' option to update commands to overwrite local changes.
|
boolean |
isPruneEmptyDirectories()
Whether CVS should be instructed to remove empty directories as part of checkout/update.
|
boolean |
isSkipChangeLog()
Allows the option of skipping the changelog generation after checkout.
|
boolean |
requiresWorkspaceForPolling() |
calcRevisionsFromBuild, calcRevisionsFromBuild, calculateChangeLog, calculateRepositoryState, checkout, compareRemoteRevisionWith, createChangeLogParser, getCheckoutDate, getCvsClient, getCvsClient, getGlobalOptions, isCheckoutCurrentTimestamp, isSymLink, postCheckout
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, supportsPolling
@DataBoundConstructor public CvsProjectset(CvsRepository[] repositories, boolean canUseUpdate, String username, String password, CVSRepositoryBrowser browser, boolean skipChangeLog, boolean pruneEmptyDirectories, boolean disableCvsQuiet, boolean cleanOnFailedUpdate, boolean forceCleanCopy)
@Exported public CvsRepository[] getRepositories()
ICvs
@Exported public String getUsername()
@Exported public Secret getPassword()
@Exported public boolean isCanUseUpdate()
ICvs
protected PollingResult compareRemoteRevisionWith(AbstractProject<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) throws IOException, InterruptedException
compareRemoteRevisionWith
in class SCM
IOException
InterruptedException
public boolean checkout(AbstractBuild<?,?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) throws IOException, InterruptedException
checkout
in class SCM
IOException
InterruptedException
public void checkout(@Nonnull Run<?,?> build, @Nonnull Launcher launcher, @Nonnull FilePath workspace, @Nonnull TaskListener listener, @CheckForNull File changelogFile, @CheckForNull SCMRevisionState baseline) throws IOException, InterruptedException
checkout
in class SCM
IOException
InterruptedException
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
in class SCM
@Exported public boolean isPruneEmptyDirectories()
ICvs
@Exported public boolean isCleanOnFailedUpdate()
ICvs
@Exported public boolean isDisableCvsQuiet()
ICvs
isDisableCvsQuiet
in interface ICvs
isDisableCvsQuiet
in class AbstractCvs
@Exported public boolean isSkipChangeLog()
ICvs
@Exported public boolean isForceCleanCopy()
ICvs
public boolean isFlatten()
ICvs
public RepositoryBrowser getBrowser()
getBrowser
in class SCM
public CvsProjectset.CvsProjectsetDescriptor getDescriptor()
ICvs
getDescriptor
in interface Describable<SCM>
getDescriptor
in interface ICvs
getDescriptor
in class AbstractCvs
SCM.getDescriptor()
Copyright © 2016–2022. All rights reserved.