public class MercurialSCM extends hudson.scm.SCM implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MercurialSCM.DescriptorImpl |
| Constructor and Description |
|---|
MercurialSCM(String installation,
String source,
String branch,
String modules,
String subdir,
HgBrowser browser,
boolean clean)
Deprecated.
|
MercurialSCM(String installation,
String source,
String branch,
String modules,
String subdir,
HgBrowser browser,
boolean clean,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env) |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile) |
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState _baseline) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
static MercurialInstallation |
findInstallation(String name) |
String |
getBranch()
In-repository branch to follow.
|
HgBrowser |
getBrowser() |
String |
getCredentialsId() |
MercurialSCM.DescriptorImpl |
getDescriptor() |
String |
getInstallation() |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace,
hudson.model.AbstractBuild build) |
String |
getModules() |
String |
getSource()
Gets the source repository path.
|
String |
getSubdir() |
boolean |
isClean()
True if we want clean check out each time.
|
boolean |
requiresWorkspaceForPolling() |
@Deprecated public MercurialSCM(String installation, String source, String branch, String modules, String subdir, HgBrowser browser, boolean clean)
public String getInstallation()
public String getSource()
public String getCredentialsId()
public String getBranch()
public String getSubdir()
public HgBrowser getBrowser()
getBrowser in class hudson.scm.SCMpublic boolean isClean()
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class hudson.scm.SCMprotected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState _baseline)
throws IOException,
InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMIOExceptionInterruptedException@CheckForNull public static MercurialInstallation findInstallation(String name)
public boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
buildEnvVars in class hudson.scm.SCMpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic hudson.FilePath getModuleRoot(hudson.FilePath workspace,
hudson.model.AbstractBuild build)
getModuleRoot in class hudson.scm.SCMpublic MercurialSCM.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCMpublic String getModules()
Copyright © 2004-2013. All Rights Reserved.