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.scm.SCMDescriptor<?> |
getDescriptor() |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace) |
void |
saveToChangeLog(File changeLogFile,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog) |
calcRevisionsFromBuild, checkout, compareRemoteRevisionWith_calcRevisionsFromBuild, _for, _for, all, buildEnvVars, calcRevisionsFromBuild, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, 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.SCMIOExceptionInterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.NullSCMpublic void saveToChangeLog(File changeLogFile, ExtractChangeLogParser.ExtractChangeLogEntry changeLog) throws IOException
IOExceptionpublic hudson.scm.SCMDescriptor<?> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCMCopyright © 2004–2015. All rights reserved.