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,
Charset charset,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog) |
void |
saveToChangeLog(File changeLogFile,
ExtractChangeLogParser.ExtractChangeLogEntry changeLog)
|
protected Object |
writeReplace()
Don't write 'this', so that subtypes can be implemented as anonymous class.
|
calcRevisionsFromBuild, checkout, compareRemoteRevisionWith
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
getModuleRoot
in class hudson.scm.SCM
public boolean checkout(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, @NonNull File changeLogFile) throws IOException, InterruptedException
checkout
in class hudson.scm.SCM
IOException
InterruptedException
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.NullSCM
@Deprecated public void saveToChangeLog(File changeLogFile, ExtractChangeLogParser.ExtractChangeLogEntry changeLog) throws IOException
IOException
public void saveToChangeLog(File changeLogFile, Charset charset, ExtractChangeLogParser.ExtractChangeLogEntry changeLog) throws IOException
IOException
protected Object writeReplace()
public hudson.scm.SCMDescriptor<?> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
Copyright © 2004–2022. All rights reserved.