Class BitbucketPullRequestSourceBranch
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<hudson.plugins.git.extensions.GitSCMExtension>
-
- hudson.plugins.git.extensions.GitSCMExtension
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketPullRequestSourceBranch
-
- All Implemented Interfaces:
Describable<hudson.plugins.git.extensions.GitSCMExtension>
public class BitbucketPullRequestSourceBranch extends hudson.plugins.git.extensions.GitSCMExtension
Adds the pull request origin branch to the underlyingGitSCM
environment variables.- Since:
- 4.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
PULL_REQUEST_SOURCE_COMMIT
-
Constructor Summary
Constructors Constructor Description BitbucketPullRequestSourceBranch(MinimalPullRequest pullRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
populateEnvironmentVariables(hudson.plugins.git.GitSCM scm, Map<String,String> env)
-
Methods inherited from class hudson.plugins.git.extensions.GitSCMExtension
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, determineSupportForJGit, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, requiresWorkspaceForPolling
-
-
-
-
Field Detail
-
PULL_REQUEST_SOURCE_COMMIT
public static final String PULL_REQUEST_SOURCE_COMMIT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BitbucketPullRequestSourceBranch
public BitbucketPullRequestSourceBranch(MinimalPullRequest pullRequest)
-
-