org.jvnet.hudson.test
Class ExtractResourceWithChangesSCM
java.lang.Object
hudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.ExtractResourceWithChangesSCM
- All Implemented Interfaces:
- ExtensionPoint, Describable<SCM>
public class ExtractResourceWithChangesSCM
- extends NullSCM
SCM useful for testing that extracts the given resource as a zip file.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class hudson.scm.SCM |
_for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoots, getType, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractResourceWithChangesSCM
public ExtractResourceWithChangesSCM(java.net.URL firstZip,
java.net.URL secondZip)
checkout
public boolean checkout(AbstractBuild build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
java.io.File changeLogFile)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
checkout in class NullSCM
- Throws:
java.io.IOException
java.lang.InterruptedException
createChangeLogParser
public ChangeLogParser createChangeLogParser()
- Overrides:
createChangeLogParser in class NullSCM
escapeForXml
public static java.lang.String escapeForXml(java.lang.String string)
saveToChangeLog
public void saveToChangeLog(java.io.File changeLogFile,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009. All Rights Reserved.