Package | Description |
---|---|
hudson | |
hudson.fsp | |
hudson.logging | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.listeners |
Listener interfaces for various events that occur inside the server.
|
hudson.scm |
Hudson's interface with source code management systems.
|
hudson.slaves |
Code related to slaves.
|
hudson.tasks | |
hudson.tools | |
hudson.util |
Other miscellaneous utility code
|
jenkins.model | |
jenkins.mvn | |
jenkins.slaves | |
jenkins.tasks | |
jenkins.util |
Modifier and Type | Field and Description |
---|---|
protected FilePath |
Launcher.ProcStarter.pwd |
Modifier and Type | Method and Description |
---|---|
FilePath |
FilePath.absolutize()
Absolutizes this
FilePath and returns the new one. |
FilePath |
FilePath.child(String relOrAbsolute)
The same as
FilePath(FilePath,String) but more OO. |
FilePath |
FilePath.createTempDir(String prefix,
String suffix)
Creates a temporary directory inside the directory represented by 'this'
|
FilePath |
FilePath.createTempFile(String prefix,
String suffix)
Creates a temporary file in the directory that this
FilePath object designates. |
FilePath |
FilePath.createTextTempFile(String prefix,
String suffix,
String contents)
Creates a temporary file in this directory and set the contents to the
given text (encoded in the platform default encoding)
|
FilePath |
FilePath.createTextTempFile(String prefix,
String suffix,
String contents,
boolean inThisDirectory)
Creates a temporary file in this directory (or the system temporary
directory) and set the contents to the given text (encoded in the
platform default encoding)
|
static FilePath |
FilePath.getHomeDirectory(hudson.remoting.VirtualChannel ch)
Gets the
FilePath representation of the "~" directory
(User's home directory in the Unix sense) of the given channel. |
FilePath |
FilePath.getParent()
Gets the parent file.
|
FilePath[] |
FilePath.list(String includes)
List up files in this directory that matches the given Ant-style filter.
|
FilePath[] |
FilePath.list(String includes,
String excludes)
List up files in this directory that matches the given Ant-style filter.
|
FilePath[] |
FilePath.list(String includes,
String excludes,
boolean defaultExcludes)
List up files in this directory that matches the given Ant-style filter.
|
FilePath |
Launcher.ProcStarter.pwd() |
FilePath |
FilePath.sibling(String rel)
Short for
getParent().child(rel) . |
FilePath |
FilePath.withSuffix(String suffix)
Returns a
FilePath by adding the given suffix to this path name. |
Modifier and Type | Method and Description |
---|---|
List<FilePath> |
FilePath.list()
List up files and directories in this directory.
|
List<FilePath> |
FilePath.list(FileFilter filter)
List up files in this directory, just like
File.listFiles(FileFilter) . |
List<FilePath> |
FilePath.listDirectories()
List up subdirectories.
|
Modifier and Type | Method and Description |
---|---|
void |
FilePath.copyFrom(FilePath src)
Convenience method to call
copyTo(FilePath) . |
int |
FilePath.copyRecursiveTo(DirScanner scanner,
FilePath target,
String description)
Copies files according to a specified scanner to a target node.
|
int |
FilePath.copyRecursiveTo(FilePath target)
Copies the contents of this directory recursively into the specified target directory.
|
int |
FilePath.copyRecursiveTo(String fileMask,
FilePath target)
Copies the files that match the given file mask to the specified target node.
|
int |
FilePath.copyRecursiveTo(String fileMask,
String excludes,
FilePath target)
Copies the files that match the given file mask to the specified target node.
|
void |
FilePath.copyTo(FilePath target)
Copies this file to the specified target.
|
void |
FilePath.copyToWithPermission(FilePath target)
Copies this file to the specified target, with file permissions and other meta attributes intact.
|
boolean |
FileSystemProvisioner.Default.DescriptorImpl.discard(FilePath ws,
TaskListener listener) |
abstract boolean |
FileSystemProvisionerDescriptor.discard(FilePath ws,
TaskListener listener)
Called to clean up a workspace that may potentially belong to this
FileSystemProvisioner . |
abstract void |
FileSystemProvisioner.discardWorkspace(AbstractProject<?,?> project,
FilePath ws)
When a project is deleted, this method is called to undo the effect of
FileSystemProvisioner.prepareWorkspace(AbstractBuild, FilePath, TaskListener) . |
void |
FileSystemProvisioner.Default.discardWorkspace(AbstractProject<?,?> project,
FilePath ws) |
Proc |
Launcher.launch(String[] cmd,
boolean[] mask,
Map<String,String> env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.launch(String[] cmd,
boolean[] mask,
String[] env,
InputStream in,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.DecoratedLauncher.launch(String[] cmd,
boolean[] mask,
String[] env,
InputStream in,
OutputStream out,
FilePath workDir) |
Proc |
Launcher.launch(String[] cmd,
boolean[] mask,
String[] env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.launch(String[] cmd,
Map<String,String> env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.launch(String[] cmd,
String[] env,
InputStream in,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.DecoratedLauncher.launch(String[] cmd,
String[] env,
InputStream in,
OutputStream out,
FilePath workDir) |
Proc |
Launcher.launch(String[] cmd,
String[] env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.launch(String cmd,
Map<String,String> env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
Proc |
Launcher.launch(String cmd,
String[] env,
OutputStream out,
FilePath workDir)
Deprecated.
as of 1.311
Use
Launcher.launch() and its associated builder pattern |
abstract hudson.remoting.Channel |
Launcher.launchChannel(String[] cmd,
OutputStream out,
FilePath workDir,
Map<String,String> envVars)
Launches a specified process and connects its input/output to a
Channel , then
return it. |
hudson.remoting.Channel |
Launcher.LocalLauncher.launchChannel(String[] cmd,
OutputStream out,
FilePath workDir,
Map<String,String> envVars) |
hudson.remoting.Channel |
Launcher.DummyLauncher.launchChannel(String[] cmd,
OutputStream out,
FilePath workDir,
Map<String,String> envVars) |
hudson.remoting.Channel |
Launcher.RemoteLauncher.launchChannel(String[] cmd,
OutputStream err,
FilePath _workDir,
Map<String,String> envOverrides) |
hudson.remoting.Channel |
Launcher.DecoratedLauncher.launchChannel(String[] cmd,
OutputStream out,
FilePath workDir,
Map<String,String> envVars) |
protected void |
Launcher.maskedPrintCommandLine(List<String> cmd,
boolean[] mask,
FilePath workDir)
Prints out the command line to the listener with some portions masked to prevent sensitive information from being
recorded on the listener.
|
protected void |
Launcher.maskedPrintCommandLine(String[] cmd,
boolean[] mask,
FilePath workDir) |
void |
FilePath.moveAllChildrenTo(FilePath target)
Moves all the contents of this directory into the specified directory, then delete this directory itself.
|
abstract void |
FileSystemProvisioner.prepareWorkspace(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener)
Called very early in the build (before a build places any files
in the workspace, such as SCM checkout) to provision a workspace
for the build.
|
void |
FileSystemProvisioner.Default.prepareWorkspace(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener) |
protected void |
Launcher.printCommandLine(String[] cmd,
FilePath workDir)
Prints out the command line to the listener so that users know what we are doing.
|
Launcher.ProcStarter |
Launcher.ProcStarter.pwd(FilePath workDir) |
void |
FilePath.renameTo(FilePath target)
Rename this file/directory to the target filepath.
|
void |
FileSystemProvisioner.Default.WorkspaceSnapshotImpl.restoreTo(AbstractBuild<?,?> owner,
FilePath dst,
TaskListener listener) |
abstract void |
WorkspaceSnapshot.restoreTo(AbstractBuild<?,?> owner,
FilePath dst,
TaskListener listener)
Restores the snapshot to the given file system location.
|
abstract WorkspaceSnapshot |
FileSystemProvisioner.snapshot(AbstractBuild<?,?> build,
FilePath ws,
String glob,
TaskListener listener)
Obtains the snapshot of the workspace of the given build.
|
WorkspaceSnapshot |
FileSystemProvisioner.Default.snapshot(AbstractBuild<?,?> build,
FilePath ws,
String glob,
TaskListener listener)
Creates a tar ball.
|
WorkspaceSnapshot |
FileSystemProvisioner.Default.snapshot(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener)
Deprecated.
as of 1.350
|
void |
FilePath.untar(FilePath target,
FilePath.TarCompression compression)
When this
FilePath represents a tar file, extracts that tar file. |
void |
FilePath.unzip(FilePath target)
When this
FilePath represents a zip file, extracts that zip file. |
static FormValidation |
FilePath.validateFileMask(FilePath path,
String value)
Short for
validateFileMask(path, value, true) |
static FormValidation |
FilePath.validateFileMask(FilePath path,
String value,
boolean caseSensitive)
Shortcut for
#validateFileMask(String,true,boolean) as the left-hand side can be null. |
void |
FilePath.zip(FilePath dst) |
Constructor and Description |
---|
FilePath(FilePath base,
String rel)
Construct a path starting with a base location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorkspaceSnapshotSCM.checkout(AbstractBuild build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
File changelogFile) |
protected PollingResult |
WorkspaceSnapshotSCM.compareRemoteRevisionWith(AbstractProject project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline) |
Modifier and Type | Method and Description |
---|---|
void |
LogRecorder.ComputerLogInitializer.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
FilePath |
Node.createPath(String absolutePath)
Gets the
FilePath on this node. |
FilePath |
Executor.getCurrentWorkspace()
If current executable is
AbstractBuild ,
return the workspace that this executor is using, or null if the build hasn't gotten
to that point yet. |
FilePath |
AbstractProject.getModuleRoot()
Deprecated.
as of 1.319
See
AbstractProject.getWorkspace() for a migration strategy. |
FilePath |
AbstractBuild.getModuleRoot()
Returns the root directory of the checked-out module.
|
FilePath[] |
AbstractProject.getModuleRoots()
Deprecated.
as of 1.319
See
AbstractProject.getWorkspace() for a migration strategy. |
FilePath[] |
AbstractBuild.getModuleRoots()
Returns the root directories of all checked-out modules.
|
abstract FilePath |
Node.getRootPath()
Gets the root directory of this node.
|
FilePath |
Slave.getRootPath() |
FilePath |
AbstractProject.getSomeWorkspace()
Gets a workspace for some build of this project.
|
FilePath |
AbstractProject.getWorkspace()
Deprecated.
as of 1.319
To support concurrent builds of the same project, this method is moved to
AbstractBuild .
For backward compatibility, this method returns the right AbstractBuild.getWorkspace() if called
from Executor , and otherwise the workspace of the last build.
If you are calling this method during a build from an executor, switch it to |
FilePath |
AbstractBuild.getWorkspace()
Gets the directory where this build is being built.
|
abstract FilePath |
WorkspaceBrowser.getWorkspace(Job job)
Provide access to job's workspace
|
abstract FilePath |
Node.getWorkspaceFor(TopLevelItem item)
Returns a "workspace" directory for the given
TopLevelItem . |
FilePath |
Slave.getWorkspaceFor(TopLevelItem item) |
FilePath |
Slave.getWorkspaceRoot()
Root directory on this slave where all the job workspaces are laid out.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkspaceListener.beforeUse(AbstractBuild b,
FilePath workspace,
BuildListener listener)
Called before a build uses a workspace.
|
void |
DirectoryBrowserSupport.serveFile(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
FilePath root,
String icon,
boolean serveDirIndex)
Deprecated.
as of 1.297
Instead of calling this method explicitly, just return the
DirectoryBrowserSupport object
from the doXYZ method and let Stapler generate a response for you. |
protected void |
AbstractBuild.setWorkspace(FilePath ws)
Normally, a workspace is assigned by
Run.RunExecution , but this lets you set the workspace in case
AbstractBuild is created without a build. |
Constructor and Description |
---|
DirectoryBrowserSupport(ModelObject owner,
FilePath base,
String title,
String icon,
boolean serveDirIndex) |
Modifier and Type | Method and Description |
---|---|
void |
SCMListener.onCheckout(Run<?,?> build,
SCM scm,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState pollingBaseline)
Should be called immediately after
SCM#checkout(Run, Launcher, FilePath, TaskListener, File) is called. |
Modifier and Type | Method and Description |
---|---|
FilePath |
SCM.getModuleRoot(FilePath workspace)
Deprecated.
since 1.382
Use/override
SCM.getModuleRoot(FilePath, AbstractBuild) instead. |
FilePath |
SCM.getModuleRoot(FilePath workspace,
AbstractBuild build)
Gets the top directory of the checked out module.
|
FilePath[] |
SCM.getModuleRoots(FilePath workspace)
Deprecated.
as of 1.382.
Use/derive from
SCM.getModuleRoots(FilePath, AbstractBuild) instead. |
FilePath[] |
SCM.getModuleRoots(FilePath workspace,
AbstractBuild build)
Gets the top directories of all the checked out modules.
|
Modifier and Type | Method and Description |
---|---|
SCMRevisionState |
SCM.calcRevisionsFromBuild(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Calculates the
SCMRevisionState that represents the state of the workspace of the given build. |
SCMRevisionState |
NullSCM.calcRevisionsFromBuild(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
boolean |
SCM.checkout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
File changelogFile)
Deprecated.
|
void |
SCM.checkout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState baseline)
Obtains a fresh workspace of the module(s) into the specified directory
of the specified machine.
|
void |
NullSCM.checkout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState baseline) |
protected PollingResult |
SCM.compareRemoteRevisionWith(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline)
Deprecated.
|
PollingResult |
SCM.compareRemoteRevisionWith(Job<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline)
Compares the current state of the remote repository against the given baseline
SCMRevisionState . |
PollingResult |
NullSCM.compareRemoteRevisionWith(Job<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline) |
FilePath |
SCM.getModuleRoot(FilePath workspace)
Deprecated.
since 1.382
Use/override
SCM.getModuleRoot(FilePath, AbstractBuild) instead. |
FilePath |
SCM.getModuleRoot(FilePath workspace,
AbstractBuild build)
Gets the top directory of the checked out module.
|
FilePath[] |
SCM.getModuleRoots(FilePath workspace)
Deprecated.
as of 1.382.
Use/derive from
SCM.getModuleRoots(FilePath, AbstractBuild) instead. |
FilePath[] |
SCM.getModuleRoots(FilePath workspace,
AbstractBuild build)
Gets the top directories of all the checked out modules.
|
PollingResult |
SCM.poll(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline)
Convenience method for the caller to handle the backward compatibility between pre 1.345 SCMs.
|
boolean |
SCM.pollChanges(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener)
Deprecated.
as of 1.345
Override
SCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener) and
SCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for implementation.
The implementation is now separated in two pieces, one that computes the revision of the current workspace,
and the other that computes the revision of the remote repository.
Call SCM.poll(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for use instead. |
void |
SCM.postCheckout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath workspace,
BuildListener listener)
Deprecated.
|
void |
SCM.postCheckout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener)
Get a chance to do operations after the workspace i checked out and the changelog is written.
|
boolean |
SCM.processWorkspaceBeforeDeletion(AbstractProject<?,?> project,
FilePath workspace,
Node node)
Deprecated.
|
boolean |
SCM.processWorkspaceBeforeDeletion(Job<?,?> project,
FilePath workspace,
Node node)
Called before a workspace is deleted on the given node, to provide SCM an opportunity to perform clean up.
|
Modifier and Type | Field and Description |
---|---|
FilePath |
WorkspaceList.Entry.path |
FilePath |
WorkspaceList.Lease.path |
Modifier and Type | Method and Description |
---|---|
WorkspaceList.Lease |
WorkspaceList.acquire(FilePath p)
Acquires the given workspace.
|
WorkspaceList.Lease |
WorkspaceList.acquire(FilePath p,
boolean quick)
|
WorkspaceList.Lease |
WorkspaceList.acquire(FilePath p,
boolean quick,
Object context)
|
WorkspaceList.Lease |
WorkspaceList.allocate(FilePath base)
Allocates a workspace by adding some variation to the given base to make it unique.
|
WorkspaceList.Lease |
WorkspaceList.allocate(FilePath base,
Object context)
|
static WorkspaceList.Lease |
WorkspaceList.Lease.createDummyLease(FilePath p)
Creates a dummy
WorkspaceList.Lease object that does no-op in the release. |
static WorkspaceList.Lease |
WorkspaceList.Lease.createLinkedDummyLease(FilePath p,
WorkspaceList.Lease parent)
Creates a
WorkspaceList.Lease object that points to the specified path, but the lock
is controlled by the given parent lease object. |
static hudson.remoting.Channel |
Channels.newJVM(String displayName,
TaskListener listener,
FilePath workDir,
ClasspathBuilder classpath,
Map<String,String> systemProperties)
Launches a new JVM with the given classpath and system properties, establish a communication channel,
and return a
Channel to it. |
static hudson.remoting.Channel |
Channels.newJVM(String displayName,
TaskListener listener,
JVMBuilder vmb,
FilePath workDir,
ClasspathBuilder classpath)
Launches a new JVM with the given classpath, establish a communication channel,
and return a
Channel to it. |
void |
ComputerListener.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener)
Called before a
Computer is marked online. |
void |
ChannelPinger.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener) |
WorkspaceList.Lease |
WorkspaceList.record(FilePath p)
Just record that this workspace is being used, without paying any attention to the synchronization support.
|
Constructor and Description |
---|
Lease(FilePath path) |
Modifier and Type | Method and Description |
---|---|
FilePath |
CommandInterpreter.createScriptFile(FilePath dir)
Creates a script file in a temporary name in the specified directory.
|
Modifier and Type | Method and Description |
---|---|
String[] |
Shell.buildCommandLine(FilePath script) |
String[] |
BatchFile.buildCommandLine(FilePath script) |
abstract String[] |
CommandInterpreter.buildCommandLine(FilePath script) |
FilePath |
CommandInterpreter.createScriptFile(FilePath dir)
Creates a script file in a temporary name in the specified directory.
|
void |
Fingerprinter.perform(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
ArtifactArchiver.perform(Run<?,?> build,
FilePath ws,
Launcher launcher,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
protected FilePath |
DownloadFromUrlInstaller.findPullUpDirectory(FilePath root)
Often an archive contains an extra top-level directory that's unnecessary when extracted on the disk
into the expected location.
|
FilePath |
AbstractCommandInstaller.performInstallation(ToolInstallation tool,
Node node,
TaskListener log) |
FilePath |
JDKInstaller.performInstallation(ToolInstallation tool,
Node node,
TaskListener log) |
FilePath |
DownloadFromUrlInstaller.performInstallation(ToolInstallation tool,
Node node,
TaskListener log) |
abstract FilePath |
ToolInstaller.performInstallation(ToolInstallation tool,
Node node,
TaskListener log)
Ensure that the configured tool is really installed.
|
FilePath |
ZipExtractionInstaller.performInstallation(ToolInstallation tool,
Node node,
TaskListener log) |
protected FilePath |
ToolInstaller.preferredLocation(ToolInstallation tool,
Node node)
Convenience method to find a location to install a tool.
|
Modifier and Type | Method and Description |
---|---|
protected FilePath |
DownloadFromUrlInstaller.findPullUpDirectory(FilePath root)
Often an archive contains an extra top-level directory that's unnecessary when extracted on the disk
into the expected location.
|
String[] |
CommandInstaller.getCommandCall(FilePath script) |
abstract String[] |
AbstractCommandInstaller.getCommandCall(FilePath script)
Retrieves a call for remote script caller.
|
String[] |
BatchCommandInstaller.getCommandCall(FilePath script) |
protected boolean |
DownloadFromUrlInstaller.isUpToDate(FilePath expectedLocation,
DownloadFromUrlInstaller.Installable i)
Checks if the specified expected location already contains the installed version of the tool.
|
Modifier and Type | Method and Description |
---|---|
protected FilePath |
FormFieldValidator.WorkspaceFileMask.getBaseDirectory(AbstractProject<?,?> p)
Deprecated.
The base directory from which the path name is resolved.
|
protected FilePath |
FormFieldValidator.WorkspaceFilePath.getBaseDirectory(AbstractProject<?,?> p)
Deprecated.
The base directory from which the path name is resolved.
|
static FilePath |
RemotingDiagnostics.getHeapDump(hudson.remoting.VirtualChannel channel)
Obtains the heap dump in an HPROF file.
|
FilePath |
RemotingDiagnostics.HeapDump.obtain() |
Modifier and Type | Method and Description |
---|---|
ClasspathBuilder |
ClasspathBuilder.add(FilePath f)
Adds a single directory or a jar file.
|
ClasspathBuilder |
ClasspathBuilder.addAll(FilePath base,
String glob)
Adds all the files that matches the given glob in the directory.
|
JVMBuilder |
JVMBuilder.pwd(FilePath pwd)
Sets the current directory for the new JVM.
|
Modifier and Type | Method and Description |
---|---|
FilePath |
Jenkins.createPath(String absolutePath) |
FilePath |
Jenkins.getRootPath() |
FilePath |
Jenkins.getWorkspaceFor(TopLevelItem item) |
Modifier and Type | Method and Description |
---|---|
abstract void |
ArtifactManager.archive(FilePath workspace,
Launcher launcher,
BuildListener listener,
Map<String,String> artifacts)
Archive all configured artifacts from a build.
|
void |
StandardArtifactManager.archive(FilePath workspace,
Launcher launcher,
BuildListener listener,
Map<String,String> artifacts) |
Modifier and Type | Method and Description |
---|---|
static FilePath |
GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider settings,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
static FilePath |
SettingsProvider.getSettingsFilePath(SettingsProvider settings,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
FilePath |
FilePathGlobalSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener) |
abstract FilePath |
SettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener)
Configure maven launcher argument list with adequate settings path.
|
FilePath |
FilePathSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener) |
FilePath |
DefaultGlobalSettingsProvider.supplySettings(AbstractBuild<?,?> project,
TaskListener listener) |
abstract FilePath |
GlobalSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener)
configure maven launcher argument list with adequate settings path
|
FilePath |
DefaultSettingsProvider.supplySettings(AbstractBuild<?,?> project,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
abstract FilePath |
WorkspaceLocator.locate(TopLevelItem item,
Node node)
Allows extensions to customize the workspace path.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardOutputSwapper.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBuildStep.perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Run this step.
|
abstract void |
SimpleBuildWrapper.setUp(SimpleBuildWrapper.Context context,
Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener,
EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper.
|
abstract void |
SimpleBuildWrapper.Disposer.tearDown(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Attempt to clean up anything that was done in the initial setup.
|
Modifier and Type | Method and Description |
---|---|
static VirtualFile |
VirtualFile.forFilePath(FilePath f)
Creates a virtual file wrapper for a remotable file.
|
Copyright © 2017. All rights reserved.