Class RevCommitRepositoryCallback

java.lang.Object
hudson.plugins.git.util.RevCommitRepositoryCallback
All Implemented Interfaces:
Serializable, org.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>

public final class RevCommitRepositoryCallback extends Object implements org.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>
Retrieves RevCommit from given Build revision.
See Also:
  • Constructor Details

    • RevCommitRepositoryCallback

      public RevCommitRepositoryCallback(Build revToBuild)
  • Method Details

    • invoke

      public org.eclipse.jgit.revwalk.RevCommit invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel virtualChannel) throws IOException, InterruptedException
      Specified by:
      invoke in interface org.jenkinsci.plugins.gitclient.RepositoryCallback<org.eclipse.jgit.revwalk.RevCommit>
      Throws:
      IOException
      InterruptedException