public class MergebotScm
extends hudson.scm.SCM
Modifier and Type | Class and Description |
---|---|
static class |
MergebotScm.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
UPDATE_TO_SPEC_PARAMETER_NAME |
Constructor and Description |
---|
MergebotScm(CleanupMethod cleanup,
WorkingMode workingMode,
String credentialsId,
String specAttributeName) |
Modifier and Type | Method and Description |
---|---|
ClientConfigurationArguments |
buildClientConfigurationArguments(hudson.model.Run<?,?> run,
String repServer) |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.Run<?,?> run,
hudson.FilePath wkPath,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
checkout(hudson.model.Run<?,?> run,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
CleanupMethod |
getCleanup() |
String |
getCredentialsId() |
MergebotScm.DescriptorImpl |
getDescriptor() |
String |
getKey() |
String |
getSpecAttributeName() |
WorkingMode |
getWorkingMode() |
boolean |
requiresWorkspaceForPolling() |
boolean |
supportsPolling() |
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion
public static final String UPDATE_TO_SPEC_PARAMETER_NAME
@DataBoundConstructor public MergebotScm(@Nonnull CleanupMethod cleanup, @Nonnull WorkingMode workingMode, @Nonnull String credentialsId, @Nonnull String specAttributeName)
@Exported public WorkingMode getWorkingMode()
@Exported public String getCredentialsId()
@Exported public CleanupMethod getCleanup()
@Exported public String getSpecAttributeName()
@NonNull public String getKey()
getKey
in class hudson.scm.SCM
public boolean supportsPolling()
supportsPolling
in class hudson.scm.SCM
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
in class hudson.scm.SCM
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public MergebotScm.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
public void checkout(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.Launcher launcher, @Nonnull hudson.FilePath workspace, @Nonnull hudson.model.TaskListener listener, @CheckForNull File changelogFile, @CheckForNull hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
checkout
in class hudson.scm.SCM
IOException
InterruptedException
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(@Nonnull hudson.model.Run<?,?> run, @Nullable hudson.FilePath wkPath, @Nullable hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild
in class hudson.scm.SCM
IOException
InterruptedException
@Nonnull public ClientConfigurationArguments buildClientConfigurationArguments(@Nonnull hudson.model.Run<?,?> run, @Nonnull String repServer)
Copyright © 2016–2023. All rights reserved.