Class 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 underlying GitSCM environment variables.
    Since:
    4.0.0
    • Constructor Detail

      • BitbucketPullRequestSourceBranch

        public BitbucketPullRequestSourceBranch​(MinimalPullRequest pullRequest)
    • Method Detail

      • populateEnvironmentVariables

        public void populateEnvironmentVariables​(hudson.plugins.git.GitSCM scm,
                                                 Map<String,​String> env)
        Overrides:
        populateEnvironmentVariables in class hudson.plugins.git.extensions.GitSCMExtension