Class ExtractResourceSCM

java.lang.Object
hudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.ExtractResourceSCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class ExtractResourceSCM extends hudson.scm.NullSCM
SCM useful for testing that extracts the given resource as a zip file.
Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested classes/interfaces inherited from class hudson.scm.NullSCM

    hudson.scm.NullSCM.DescriptorImpl

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Field Summary

    Fields inherited from class hudson.scm.SCM

    PERMISSIONS, TAG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ExtractResourceSCM(URL zip, String parentFolder)
    with this constructor your zip can contains a folder more useful to create a project test zip foo.zip foo
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkout(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, File changeLogFile)
     

    Methods inherited from class hudson.scm.NullSCM

    calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createChangeLogParser

    Methods inherited from class hudson.scm.SCM

    _calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtractResourceSCM

      public ExtractResourceSCM(URL zip)
    • ExtractResourceSCM

      public ExtractResourceSCM(URL zip, String parentFolder)
      with this constructor your zip can contains a folder more useful to create a project test zip foo.zip foo
  • Method Details