org.jvnet.hudson.test
Class ExtractResourceWithChangesSCM
java.lang.Object
hudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>
public class ExtractResourceWithChangesSCM
- extends hudson.scm.NullSCM
SCM useful for testing that extracts the given resource as a zip file.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from class hudson.scm.NullSCM |
hudson.scm.NullSCM.DescriptorImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
| Methods inherited from class hudson.scm.NullSCM |
calcRevisionsFromBuild, compareRemoteRevisionWith |
| Methods inherited from class hudson.scm.SCM |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, postCheckout, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractResourceWithChangesSCM
public ExtractResourceWithChangesSCM(URL firstZip,
URL secondZip)
ExtractResourceWithChangesSCM
public ExtractResourceWithChangesSCM(URL firstZip,
URL secondZip,
String moduleRoot)
getModuleRoot
public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
- Overrides:
getModuleRoot in class hudson.scm.SCM
checkout
public boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile)
throws IOException,
InterruptedException
- Overrides:
checkout in class hudson.scm.NullSCM
- Throws:
IOException
InterruptedException
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Overrides:
createChangeLogParser in class hudson.scm.NullSCM
saveToChangeLog
public void saveToChangeLog(File changeLogFile,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog)
throws IOException
- Throws:
IOException
Copyright © 2004-2014. All Rights Reserved.