public abstract class AbstractIspwConfiguration extends AbstractConfiguration
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>m_codePage, m_connectionId, m_hostPort, m_isMigrated| Constructor and Description |
|---|
AbstractIspwConfiguration(String connectionId,
String credentialsId,
String serverConfig) |
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Calculates any revisions from previous builds.
|
void |
checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline)
Method that is first called when a build is run.
|
hudson.scm.ChangeLogParser |
createChangeLogParser() |
String |
getConnectionId()
Gets the unique identifier of the 'Host connection'.
|
String |
getCredentialsId()
Gets the value of the 'Login credentials'
|
String |
getServerConfig()
Gets the value of the 'Runtime configuration'
|
protected String |
getTrimmedValue(String value)
Returns a copy of the string, with leading and trailing whitespace omitted.
|
boolean |
supportsPolling()
Plugin does not support polling.
|
void |
validateCliLocation(com.compuware.jenkins.common.configuration.CpwrGlobalConfiguration globalConfig,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Validates the Cli location.
|
abstract void |
validateFilterParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the filter configuration parameters.
|
abstract void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters
|
void |
validateServerParameters(com.compuware.jenkins.common.configuration.CpwrGlobalConfiguration globalConfig,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the server configuration parameters.
|
isMigrated, jobLoaded, readResolve_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPollingpublic void checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMlauncher - The machine that the files will be checked out.workspaceFilePath - a directory to check out the source code.listener - Build listenerchangelogFile - Upon a successful return, this file should capture the changelog. When there's no change, this file should
contain an empty entrybaseline - used for polling - this parameter is not usedIOExceptionInterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMprotected String getTrimmedValue(String value)
value - the string to trimString the trimmed value or an empty string if the value is nullpublic String getConnectionId()
String value of connectionIdpublic String getServerConfig()
String value of serverConfigpublic String getCredentialsId()
String value of credentialsIdpublic void validateServerParameters(com.compuware.jenkins.common.configuration.CpwrGlobalConfiguration globalConfig,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
throws hudson.AbortException
launcher - The machine that the files will be checked out.listener - Build listenerproject - the Jenkins projecthudson.AbortException - if an error occurs getting the credentials userpublic void validateCliLocation(com.compuware.jenkins.common.configuration.CpwrGlobalConfiguration globalConfig,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
globalConfig - The global configurationlauncher - The machine that the files will be checked out.listener - Build listenerpublic abstract void validateFilterParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
launcher - The machine that the files will be checked out.listener - Build listenerproject - the Jenkins projectpublic abstract void validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
throws hudson.AbortException
launcher - The machine that the files will be checked out.listener - Build listenerproject - the Jenkins projecthudson.AbortException - if an error occurs validating the parameterspublic boolean supportsPolling()
supportsPolling in class hudson.scm.SCMpublic hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOExceptionInterruptedExceptionCopyright © 2016–2025. All rights reserved.