public class RelativeTargetDirectory extends GitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
RelativeTargetDirectory.DescriptorImpl |
| Constructor and Description |
|---|
RelativeTargetDirectory(String relativeTargetDir) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRelativeTargetDir() |
FilePath |
getWorkingDirectory(GitSCM scm,
Job<?,?> context,
FilePath workspace,
EnvVars environment,
TaskListener listener)
Given the workspace root directory, gets the working directory, which is where the repository will be checked out.
|
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, determineSupportForJGit, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPolling@DataBoundConstructor public RelativeTargetDirectory(String relativeTargetDir)
public String getRelativeTargetDir()
public FilePath getWorkingDirectory(GitSCM scm, Job<?,?> context, FilePath workspace, EnvVars environment, TaskListener listener) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensiongetWorkingDirectory in class GitSCMExtensionscm - GitSCM objectcontext - job context for workspace rootworkspace - starting directory of workspaceenvironment - environment variables used to evallistener - build logGitSCMExtension control it.IOException - on input or output errorInterruptedException - when interruptedhudson.plugins.git.GitException - on git errorCopyright © 2007–2020. All rights reserved.