public class IntegritySCM extends AbstractIntegritySCM implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IntegritySCM.DescriptorImpl
The relationship of Descriptor and SCM (the describable) is akin to class and object.
|
alternateWorkspace, browser, checkoutThreadPoolSize, checkoutThreadTimeout, checkpointBeforeBuild, checkpointLabel, ciServerURL, cleanCopy, configPath, configurationName, CPBasedMode, DEFAULT_CHECKOUT_THREAD_TIMEOUT, DEFAULT_DATE_FORMAT, DEFAULT_THREAD_POOL_SIZE, deleteNonMembers, excludeList, fetchChangedWorkspaceFiles, FS, includeList, integrityURL, lineTerminator, localClient, LOGGER, MAX_PORT_VALUE, MIN_PORT_VALUE, NL, password, projects, restoreTimestamp, RETURNED_EXIT_CODE, sandboxScope, SDF, serverConfig, skipAuthorInfo, SQL_EXCEPTION_CAUGHT, userName
Constructor and Description |
---|
IntegritySCM(IntegrityRepositoryBrowser browser,
String serverConfig,
String userName,
String password,
String configPath,
String includeList,
String excludeList,
boolean cleanCopy,
String lineTerminator,
boolean restoreTimestamp,
boolean skipAuthorInfo,
boolean checkpointBeforeBuild,
String checkpointLabel,
String alternateWorkspace,
boolean fetchChangedWorkspaceFiles,
boolean deleteNonMembers,
int checkoutThreadPoolSize,
String configurationName)
Deprecated.
|
IntegritySCM(String serverConfig,
String configPath,
String configurationName) |
Modifier and Type | Method and Description |
---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
Adds Integrity CM Project info to the build variables
|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Overridden calcRevisionsFromBuild function Returns the current project configuration which can
be used to difference any future configurations
|
void |
checkout(hudson.model.Run<?,?> run,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
File changeLogFile,
hudson.scm.SCMRevisionState baseline)
Overridden checkout function This is the real invocation of this plugin.
|
hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.Job<?,?> job,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
Overridden compareRemoteRevisionWith function that against the current to determine if the
project has changed Loads up the previous project configuration and compares
|
String |
getKey() |
com.mks.api.response.Response |
initializeCMProject(hudson.EnvVars environment,
String projectCacheTable)
Primes the Integrity Project metadata information
|
createChangeLogParser, findProject, getAlternateWorkspace, getBrowser, getCheckoutThreadPoolSize, getCheckoutThreadTimeout, getCheckpointBeforeBuild, getCheckpointLabel, getCleanCopy, getConfigPath, getConfigurationName, getCPBasedMode, getDeleteNonMembers, getDescriptor, getExcludeList, getFetchChangedWorkspaceFiles, getIncludeList, getIntegrityProject, getLineTerminator, getLocalClient, getPassword, getProjectSettings, getRestoreTimestamp, getSandboxScope, getSecretPassword, getServerConfig, getSkipAuthorInfo, getUserName, hasProject, requiresWorkspaceForPolling, setAlternateWorkspace, setBrowser, setCheckoutThreadPoolSize, setCheckoutThreadTimeout, setCheckpointBeforeBuild, setCheckpointLabel, setCleanCopy, setConfigPath, setConfigurationName, setCPBasedMode, setDeleteNonMembers, setExcludeList, setFetchChangedWorkspaceFiles, setIncludeList, setLineTerminator, setLocalClient, setPassword, setRestoreTimestamp, setSandboxScope, setServerConfig, setSkipAuthorInfo, setUserName, supportsPolling
_calcRevisionsFromBuild, _for, _for, all, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion
@Deprecated public IntegritySCM(IntegrityRepositoryBrowser browser, String serverConfig, String userName, String password, String configPath, String includeList, String excludeList, boolean cleanCopy, String lineTerminator, boolean restoreTimestamp, boolean skipAuthorInfo, boolean checkpointBeforeBuild, String checkpointLabel, String alternateWorkspace, boolean fetchChangedWorkspaceFiles, boolean deleteNonMembers, int checkoutThreadPoolSize, String configurationName)
public void buildEnvVars(hudson.model.AbstractBuild<?,?> build, Map<String,String> env)
buildEnvVars
in class hudson.scm.SCM
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild
in class hudson.scm.SCM
IOException
InterruptedException
public com.mks.api.response.Response initializeCMProject(hudson.EnvVars environment, String projectCacheTable) throws Exception
Exception
public void checkout(hudson.model.Run<?,?> run, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener, File changeLogFile, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
checkout
in class hudson.scm.SCM
IOException
InterruptedException
public hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.Job<?,?> job, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
compareRemoteRevisionWith
in class hudson.scm.SCM
IOException
InterruptedException
public String getKey()
getKey
in class hudson.scm.SCM
Copyright © 2016–2024. All rights reserved.