public class ExtractResourceWithChangesSCM
extends hudson.scm.NullSCM
SCM useful for testing that extracts the given resource as a zip file.| Constructor and Description |
|---|
ExtractResourceWithChangesSCM(URL firstZip,
URL secondZip) |
ExtractResourceWithChangesSCM(URL firstZip,
URL secondZip,
String moduleRoot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace) |
void |
saveToChangeLog(File changeLogFile,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog) |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, postCheckout, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPollingpublic hudson.FilePath getModuleRoot(hudson.FilePath workspace)
getModuleRoot in class hudson.scm.SCMpublic boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.NullSCMIOExceptionInterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.NullSCMpublic void saveToChangeLog(File changeLogFile, ExtractChangeLogParser.ExtractChangeLogEntry changeLog) throws IOException
IOExceptionCopyright © 2004-2014. All Rights Reserved.