Class GitLFSPull

    • Constructor Detail

      • GitLFSPull

        @DataBoundConstructor
        public GitLFSPull()
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object