public class PluginScm extends Object
Modifier and Type | Method and Description |
---|---|
static String |
checkScm(hudson.model.AbstractProject<?,?> project)
Verify jenkins scm assumptions for cascade to work.
|
static String |
localBranchName(hudson.plugins.git.GitSCM gitScm) |
static org.eclipse.jgit.lib.PersonIdent |
person(hudson.plugins.git.GitSCM gitScm)
Convert identity from jenkins to jgit.
|
static String |
remoteBranchName(hudson.plugins.git.GitSCM gitScm) |
static String |
remoteName(hudson.plugins.git.GitSCM gitScm) |
static String |
remoteURI(hudson.plugins.git.GitSCM gitScm) |
static void |
scmCheckin(BuildContext<CascadeBuild> context,
hudson.maven.MavenModuleSet project)
Transmit into remote.
|
static void |
scmCheckout(BuildContext<CascadeBuild> context,
hudson.maven.MavenModuleSet project)
Copy from remote into local.
|
static void |
scmCommit(BuildContext<?> context,
hudson.maven.MavenModuleSet project,
String pattern)
Commit into local.
|
static void |
scmUpdate(BuildContext<CascadeBuild> context,
hudson.maven.MavenModuleSet project)
Update from remote.
|
static hudson.FilePath |
workspace(BuildContext<?> context,
hudson.maven.MavenModuleSet project)
Find workspace for a project.
|
public static String checkScm(hudson.model.AbstractProject<?,?> project)
public static String localBranchName(hudson.plugins.git.GitSCM gitScm)
public static org.eclipse.jgit.lib.PersonIdent person(hudson.plugins.git.GitSCM gitScm)
public static String remoteBranchName(hudson.plugins.git.GitSCM gitScm)
public static String remoteName(hudson.plugins.git.GitSCM gitScm)
public static String remoteURI(hudson.plugins.git.GitSCM gitScm)
public static void scmCheckin(BuildContext<CascadeBuild> context, hudson.maven.MavenModuleSet project) throws IOException, InterruptedException
IOException
InterruptedException
public static void scmCheckout(BuildContext<CascadeBuild> context, hudson.maven.MavenModuleSet project) throws IOException, InterruptedException
IOException
InterruptedException
public static void scmCommit(BuildContext<?> context, hudson.maven.MavenModuleSet project, String pattern) throws IOException, InterruptedException
IOException
InterruptedException
public static void scmUpdate(BuildContext<CascadeBuild> context, hudson.maven.MavenModuleSet project) throws IOException, InterruptedException
IOException
InterruptedException
public static hudson.FilePath workspace(BuildContext<?> context, hudson.maven.MavenModuleSet project)
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.