public class PdsConfiguration extends CpwrScmConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
PdsConfiguration.PdsDescriptorImpl
DescriptorImpl is used to create instances of
PdsConfiguration. |
| Constructor and Description |
|---|
PdsConfiguration(String hostPort,
String filterPattern,
String fileExtension,
String credentialsId,
String codePage)
Gets the data from the configuration page.
|
| 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.
|
PdsConfiguration.PdsDescriptorImpl |
getDescriptor()
Returns the ScmDescriptor for the SCM object.
|
boolean |
supportsPolling()
Plugin does not support polling.
|
createChangeLogParser, getCodePage, getCredentialsId, getFileExtension, getFilterPattern, getHost, getHostPort, getLoginInformation, getPort, getTopazCLILocation, validateHostPort, validateParameters_calcRevisionsFromBuild, _for, _for, all, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling@DataBoundConstructor public PdsConfiguration(String hostPort, String filterPattern, String fileExtension, String credentialsId, String codePage)
config.jelly.hostPort - 'Host':'Port'filterPattern - filter for the datasets to be retrieved from the mainframefileExtension - file extension for the incoming datasetscredentialsId - unique id of the selected credentialcodePage - code pagepublic 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 outworkspaceFilePath - a directory to check out the source codelistener - 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 used)IOExceptionInterruptedExceptionpublic 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.SCMIOExceptionInterruptedExceptionpublic PdsConfiguration.PdsDescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCMCopyright © 2016–2017. All rights reserved.