| Package | Description |
|---|---|
| hudson.plugins.git | |
| hudson.plugins.git.util |
| Modifier and Type | Method and Description |
|---|---|
static List<BranchSpec> |
GitSCM.DescriptorImpl.createBranches(String[] branchParams)
Creates git branches based.
|
List<BranchSpec> |
GitSCM.getBranches() |
| Constructor and Description |
|---|
GitSCM(List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches,
PreBuildMergeOptions mergeOptions,
boolean doGenerateSubmoduleConfigurations,
Collection<SubmoduleConfig> submoduleCfg,
boolean clean,
boolean wipeOutWorkspace,
BuildChooser buildChooser,
GitRepositoryBrowser browser,
String gitTool,
boolean authorOrCommitter,
String excludedRegions,
String excludedUsers,
String localBranch,
boolean recursiveSubmodules,
boolean pruneBranches,
boolean remotePoll,
String gitConfigName,
String gitConfigEmail,
boolean skipTag)
Deprecated.
|
GitSCM(List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches,
PreBuildMergeOptions mergeOptions,
boolean doGenerateSubmoduleConfigurations,
Collection<SubmoduleConfig> submoduleCfg,
boolean clean,
boolean wipeOutWorkspace,
BuildChooser buildChooser,
GitRepositoryBrowser browser,
String gitTool,
boolean authorOrCommitter,
String excludedRegions,
String excludedUsers,
String localBranch,
boolean recursiveSubmodules,
boolean pruneBranches,
boolean remotePoll,
String gitConfigName,
String gitConfigEmail,
boolean skipTag,
String includedRegions)
Deprecated.
|
GitSCM(List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches,
PreBuildMergeOptions mergeOptions,
boolean doGenerateSubmoduleConfigurations,
Collection<SubmoduleConfig> submoduleCfg,
boolean clean,
boolean wipeOutWorkspace,
BuildChooser buildChooser,
GitRepositoryBrowser browser,
String gitTool,
boolean authorOrCommitter,
String excludedRegions,
String excludedUsers,
String localBranch,
boolean recursiveSubmodules,
boolean pruneBranches,
boolean remotePoll,
String gitConfigName,
String gitConfigEmail,
boolean skipTag,
String includedRegions,
boolean ignoreNotifyCommit) |
GitSCM(List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches,
PreBuildMergeOptions mergeOptions,
boolean doGenerateSubmoduleConfigurations,
Collection<SubmoduleConfig> submoduleCfg,
boolean clean,
boolean wipeOutWorkspace,
BuildChooser buildChooser,
GitRepositoryBrowser browser,
String gitTool,
boolean authorOrCommitter,
String relativeTargetDir,
String excludedRegions,
String excludedUsers,
String localBranch,
boolean recursiveSubmodules,
boolean pruneBranches,
boolean remotePoll,
String gitConfigName,
String gitConfigEmail,
boolean skipTag)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GitUtils.buildBranchEnvVar(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env,
List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches)
Builds branch envvars.
|
static String |
GitUtils.getSingleBranch(hudson.model.AbstractBuild<?,?> build,
List<org.eclipse.jgit.transport.RemoteConfig> repositories,
List<BranchSpec> branches)
If the configuration is such that we are tracking just one branch of one repository
return that branch specifier (in the form of something like "origin/master"
Otherwise return null.
|
Copyright © 2004-2015 Hudson. All Rights Reserved.