Class LocalBranch

  • All Implemented Interfaces:

    public class LocalBranch
    extends FakeGitSCMExtension
    The Git plugin checks code out to a detached head. Configure LocalBranch to force checkout to a specific local branch. Configure this extension as null or as "**" to signify that the local branch name should be the same as the remote branch name sans the remote repository prefix (origin for example).
    Kohsuke Kawaguchi
    • Constructor Detail

      • LocalBranch

        public LocalBranch​(@CheckForNull
                           String localBranch)