public class SingleFileSCM
extends hudson.scm.NullSCM
SCM useful for testing that puts just one file in the workspace.| Constructor and Description |
|---|
SingleFileSCM(String path,
byte[] contents) |
SingleFileSCM(String path,
String contents) |
SingleFileSCM(String path,
URL resource)
When a check out is requested, serve the contents of the URL and place it with the given path name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile) |
calcRevisionsFromBuild, compareRemoteRevisionWith, createChangeLogParser_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, postCheckout, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPollingpublic SingleFileSCM(String path, byte[] contents)
public SingleFileSCM(String path, String contents) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic SingleFileSCM(String path, URL resource) throws IOException
IOExceptionpublic 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.NullSCMIOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.