| Constructor and Description |
|---|
GitSCM.DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static List<BranchSpec> |
createBranches(String[] branchParams)
Creates git branches based.
|
static PreBuildMergeOptions |
createMergeOptions(String doMerge,
String pMergeRemote,
String mergeTarget,
List<org.eclipse.jgit.transport.RemoteConfig> remoteRepositories) |
static List<org.eclipse.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(String[] urls,
String[] repoNames,
String[] refSpecs)
Deprecated.
|
static List<org.eclipse.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(String[] urls,
String[] repoNames,
String[] refSpecs,
String[] relativeTargetDirs) |
hudson.util.FormValidation |
doCheckRepositoryUrl(String value)
Validates the remote repository URL.
|
hudson.util.FormValidation |
doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
List<BuildChooserDescriptor> |
getBuildChooserDescriptors() |
String |
getDisplayName() |
String |
getGitExe()
Deprecated.
|
List<GitTool> |
getGitTools()
Lists available toolinstallations.
|
String |
getGlobalConfigEmail()
Global setting to be used in call to "git config user.email".
|
String |
getGlobalConfigName()
Global setting to be used in call to "git config user.name".
|
String |
getOldGitExe()
Old configuration of git executable - exposed so that we can
migrate this setting to GitTool without deprecation warnings.
|
boolean |
isCreateAccountBaseOnCommitterEmail()
Returns true if Hudson should create new accounts base on Git commiter's email instead of full name.
|
boolean |
isPollSlaves()
Global setting that determines whether slave (vs.
|
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setCreateAccountBaseOnCommitterEmail(boolean createAccountBaseOnCommitterEmail) |
void |
setGlobalConfigEmail(String globalConfigEmail) |
void |
setGlobalConfigName(String globalConfigName) |
void |
setPollSlaves(boolean pollSlaves) |
getBrowserDescriptors, getGeneration, isApplicable, isBrowserReusable, loadaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPlugin, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMappublic void setGlobalConfigName(String globalConfigName)
public void setGlobalConfigEmail(String globalConfigEmail)
public void setPollSlaves(boolean pollSlaves)
public void setCreateAccountBaseOnCommitterEmail(boolean createAccountBaseOnCommitterEmail)
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>public List<BuildChooserDescriptor> getBuildChooserDescriptors()
public List<GitTool> getGitTools()
@Deprecated public String getGitExe()
GitToolpublic String getGlobalConfigName()
public String getGlobalConfigEmail()
public boolean isPollSlaves()
public boolean isCreateAccountBaseOnCommitterEmail()
public String getOldGitExe()
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormException@Deprecated public static List<org.eclipse.jgit.transport.RemoteConfig> createRepositoryConfigurations(String[] urls, String[] repoNames, String[] refSpecs) throws IOException, hudson.model.Descriptor.FormException
IOExceptionhudson.model.Descriptor.FormExceptionpublic static List<org.eclipse.jgit.transport.RemoteConfig> createRepositoryConfigurations(String[] urls, String[] repoNames, String[] refSpecs, String[] relativeTargetDirs) throws IOException, hudson.model.Descriptor.FormException
IOExceptionhudson.model.Descriptor.FormExceptionpublic static List<BranchSpec> createBranches(String[] branchParams)
branchParams - parameters.BranchSpec.public static PreBuildMergeOptions createMergeOptions(String doMerge, String pMergeRemote, String mergeTarget, List<org.eclipse.jgit.transport.RemoteConfig> remoteRepositories) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doCheckRepositoryUrl(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.FormValidation.IOException - IOException.javax.servlet.ServletException - ServletException.Copyright © 2004-2015 Hudson. All Rights Reserved.