Class OrasSCMFileSystemBuilder

java.lang.Object
jenkins.scm.api.SCMFileSystem.Builder
io.jenkins.plugins.scmoras.OrasSCMFileSystemBuilder
All Implemented Interfaces:
ExtensionPoint

@Extension public class OrasSCMFileSystemBuilder extends jenkins.scm.api.SCMFileSystem.Builder
Provides OrasSCMFileSystem instances, enabling Pipeline's "lightweight checkout" for OrasSCM: a single file (typically the Jenkinsfile) can be read directly from the packaged artifact without extracting the whole repository to disk.
  • Constructor Details

    • OrasSCMFileSystemBuilder

      public OrasSCMFileSystemBuilder()
  • Method Details

    • supports

      public boolean supports(SCM scm)
      Specified by:
      supports in class jenkins.scm.api.SCMFileSystem.Builder
    • supports

      public boolean supports(jenkins.scm.api.SCMSource source)
      Specified by:
      supports in class jenkins.scm.api.SCMFileSystem.Builder
    • supportsDescriptor

      protected boolean supportsDescriptor(SCMDescriptor descriptor)
      Specified by:
      supportsDescriptor in class jenkins.scm.api.SCMFileSystem.Builder
    • supportsDescriptor

      protected boolean supportsDescriptor(jenkins.scm.api.SCMSourceDescriptor descriptor)
      Specified by:
      supportsDescriptor in class jenkins.scm.api.SCMFileSystem.Builder
    • build

      @CheckForNull public jenkins.scm.api.SCMFileSystem build(@NonNull Item owner, @NonNull SCM scm, @CheckForNull jenkins.scm.api.SCMRevision rev, @CheckForNull Run<?,?> build) throws IOException
      Overrides:
      build in class jenkins.scm.api.SCMFileSystem.Builder
      Throws:
      IOException