public class EndevorConfiguration extends CpwrScmConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
EndevorConfiguration.EndevorDescriptorImpl
DescriptorImpl is used to create instances of
EndevorConfiguration . |
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>
m_codePage, m_connectionId, m_hostPort, m_isMigrated
Constructor and Description |
---|
EndevorConfiguration(String connectionId,
String filterPattern,
String fileExtension,
String credentialsId,
String targetFolder)
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.
|
EndevorConfiguration.EndevorDescriptorImpl |
getDescriptor()
Returns the ScmDescriptor for the SCM object.
|
boolean |
supportsPolling()
Plugin does not support polling.
|
createChangeLogParser, getConnectionId, getCredentialsId, getFileExtension, getFilterPattern, getTargetFolder, validateParameters, validateTargetFolder
isMigrated, 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 EndevorConfiguration(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(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.SCM
launcher
- 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 change log. When there's no change, this file should
contain an empty entrybaseline
- used for polling (we do not use this parameter)IOException
- if an I/O error occurs downloading sourceInterruptedException
- if downloading source is interrupted by another threadpublic boolean supportsPolling()
supportsPolling
in class hudson.scm.SCM
public 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.SCM
IOException
InterruptedException
public EndevorConfiguration.EndevorDescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
Copyright © 2016–2023. All rights reserved.