Class GitHubSCMFileSystem

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class GitHubSCMFileSystem
    extends jenkins.scm.api.SCMFileSystem
    Implements SCMFileSystem for GitHub.
    • Constructor Detail

      • GitHubSCMFileSystem

        protected GitHubSCMFileSystem​(org.kohsuke.github.GitHub gitHub,
                                      org.kohsuke.github.GHRepository repo,
                                      String refName,
                                      @CheckForNull
                                      jenkins.scm.api.SCMRevision rev)
                               throws IOException
        Constructor.
        Parameters:
        gitHub - the GitHub
        repo - the GHRepository
        refName - the ref name, e.g. heads/branchName, tags/tagName, pull/N/head or the SHA.
        rev - the optional revision.
        Throws:
        IOException - if I/O errors occur.