Class GitLFSPull

All Implemented Interfaces:
Describable<GitSCMExtension>

public class GitLFSPull extends GitSCMExtension
git-lfs-pull after the checkout.
Author:
Matt Hauck
  • Constructor Details

    • GitLFSPull

      @DataBoundConstructor public GitLFSPull()
  • Method Details

    • decorateCheckoutCommand

      public void decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
      Called before a CheckoutCommand is executed to allow extensions to alter its behaviour.
      Overrides:
      decorateCheckoutCommand in class GitSCMExtension
      Parameters:
      scm - GitSCM object
      build - run context
      git - GitClient
      listener - build log
      cmd - checkout command to be decorated
      Throws:
      IOException - on input or output error
      InterruptedException - when interrupted
      hudson.plugins.git.GitException - on git error
    • determineSupportForJGit

      public void determineSupportForJGit(GitSCM scm, @NonNull org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
      Description copied from class: GitSCMExtension
      Called when support of JGit for a particular or multiple extensions is to be determined
      Overrides:
      determineSupportForJGit in class GitSCMExtension
      Parameters:
      scm - GitSCM object
      cmd - UnsupportedCommand object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object