Package org.jvnet.hudson.test
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
-
-
Constructor Summary
Constructors Constructor Description ExtractResourceSCM(URL zip)
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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
checkout
public boolean checkout(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, @NonNull File changeLogFile) throws IOException, InterruptedException
- Overrides:
checkout
in classhudson.scm.SCM
- Throws:
IOException
InterruptedException
-
-