public class PdsConfiguration extends CpwrScmConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
PdsConfiguration.PdsDescriptorImpl
DescriptorImpl is used to create instances of
PdsConfiguration. |
ExtensionPoint.LegacyInstancesAreScopedToHudsonm_codePage, m_connectionId, m_hostPort, m_isMigratedPERMISSIONS, TAG| Constructor and Description |
|---|
PdsConfiguration(String connectionId,
String filterPattern,
String fileExtension,
String credentialsId,
String targetFolder)
Gets the data from the configuration page.
|
| Modifier and Type | Method and Description |
|---|---|
SCMRevisionState |
calcRevisionsFromBuild(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Calculates any revisions from previous builds.
|
void |
checkout(Run<?,?> build,
Launcher launcher,
FilePath workspaceFilePath,
TaskListener listener,
File changelogFile,
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, getConnectionId, getCredentialsId, getFileExtension, getFilterPattern, getLoginInformation, getTargetFolder, validateParameters, validateTargetFolderisMigrated, jobLoaded, readResolve_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, 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 connectionId, String filterPattern, String fileExtension, String credentialsId, String targetFolder)
config.jelly.connectionId - a unique host connection identifierfilterPattern - filter for the datasets to be retrieved from the mainframefileExtension - file extension for the incoming datasetscredentialsId - unique id of the selected credentialtargetFolder - source download locationpublic void checkout(Run<?,?> build, Launcher launcher, FilePath workspaceFilePath, TaskListener listener, File changelogFile, SCMRevisionState baseline) throws IOException, InterruptedException
checkout in class 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)IOException - if an I/O error occurs downloading sourceInterruptedException - if downloading source is interrupted by another threadpublic boolean supportsPolling()
supportsPolling in class SCMpublic SCMRevisionState calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild in class SCMIOExceptionInterruptedExceptionpublic PdsConfiguration.PdsDescriptorImpl getDescriptor()
getDescriptor in interface Describable<SCM>getDescriptor in class SCMCopyright © 2016–2019. All rights reserved.