Package | Description |
---|---|
hudson | |
hudson.fsp | |
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.scm | |
jenkins.tasks |
Modifier and Type | Class and Description |
---|---|
static class |
Launcher.DecoratedLauncher
A launcher which delegates to a provided inner launcher.
|
static class |
Launcher.DummyLauncher |
static class |
Launcher.LocalLauncher
Launcher that launches process locally. |
static class |
Launcher.RemoteLauncher
Launches processes remotely by using the given channel.
|
Modifier and Type | Method and Description |
---|---|
Launcher |
FilePath.createLauncher(TaskListener listener)
Creates a
Launcher for starting processes on the node
that has this file. |
abstract Launcher |
LauncherDecorator.decorate(Launcher launcher,
Node node)
Called from
Node.createLauncher(TaskListener) to decorate the launchers. |
Launcher |
Launcher.decorateByEnv(EnvVars _env)
Returns a decorated
Launcher that automatically adds the specified environment
variables. |
Launcher |
Launcher.decorateByPrefix(String... prefix)
Returns a decorated
Launcher that puts the given set of arguments as a prefix to any commands
that it invokes. |
Launcher |
Launcher.decorateFor(Node node)
Returns a decorated
Launcher for the given node. |
Launcher |
Launcher.DecoratedLauncher.getInner()
Gets nested launcher.
|
Modifier and Type | Method and Description |
---|---|
abstract Launcher |
LauncherDecorator.decorate(Launcher launcher,
Node node)
Called from
Node.createLauncher(TaskListener) to decorate the launchers. |
Constructor and Description |
---|
DecoratedLauncher(Launcher inner) |
Launcher(Launcher launcher)
Constructor for a decorator.
|
Modifier and Type | Method and Description |
---|---|
SCMRevisionState |
WorkspaceSnapshotSCM.calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener) |
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 | Field and Description |
---|---|
protected Launcher |
AbstractBuild.AbstractBuildExecution.launcher
Since configuration can be changed while a build is in progress,
create a launcher once and stick to it for the entire build duration.
|
Modifier and Type | Method and Description |
---|---|
protected Launcher |
AbstractBuild.AbstractBuildExecution.createLauncher(BuildListener listener)
Creates a
Launcher that this build will use. |
abstract Launcher |
Node.createLauncher(TaskListener listener)
Returns a
Launcher for executing programs on this node. |
Launcher |
Slave.createLauncher(TaskListener listener)
Creates a launcher for the slave.
|
Launcher |
AbstractBuild.AbstractBuildExecution.getLauncher() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractProject.checkout(AbstractBuild build,
Launcher launcher,
BuildListener listener,
File changelogFile) |
boolean |
JobProperty.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Runs the step over the given build and reports the progress to the listener.
|
Modifier and Type | Method and Description |
---|---|
Environment |
RunListener.setUpEnvironment(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
SCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) runs, and performs a set up. |
Modifier and Type | Method and Description |
---|---|
SCMRevisionState |
SCM._calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener)
Deprecated.
|
SCMRevisionState |
SCM.calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener)
Deprecated.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
Environment |
NodeProperty.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
SCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) runs, and performs a set up. |
Environment |
EnvironmentVariablesNodeProperty.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
Modifier and Type | Method and Description |
---|---|
Launcher |
BuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Provides an opportunity for a
BuildWrapper to decorate a Launcher to be used in the build. |
Modifier and Type | Method and Description |
---|---|
Launcher |
BuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Provides an opportunity for a
BuildWrapper to decorate a Launcher to be used in the build. |
String |
Maven.MavenInstallation.getExecutable(Launcher launcher)
Gets the executable path of this maven on the given target system.
|
boolean |
Maven.MavenInstallation.isMaven2_1(Launcher launcher)
Is this Maven 2.1.x or 2.2.x - but not Maven 3.x?
|
boolean |
Maven.MavenInstallation.meetsMavenReqVersion(Launcher launcher,
int mavenReqVersion)
Compares the version of this Maven installation to the minimum required version specified.
|
boolean |
BuildStep.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Runs the step over the given build and reports the progress to the listener.
|
boolean |
BuildStepCompatibilityLayer.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Deprecated.
Runs the step over the given build and reports the progress to the listener.
|
boolean |
CommandInterpreter.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
Maven.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
CommandInterpreter.perform(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener) |
boolean |
BuildTrigger.perform(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
boolean |
BuildStepCompatibilityLayer.perform(Build<?,?> build,
Launcher launcher,
BuildListener listener)
Deprecated.
|
abstract boolean |
BuildStepMonitor.perform(BuildStep bs,
AbstractBuild build,
Launcher launcher,
BuildListener listener)
Calls
BuildStep.perform(AbstractBuild, Launcher, BuildListener) with the proper synchronization. |
void |
ArtifactArchiver.perform(Run<?,?> build,
FilePath ws,
Launcher launcher,
TaskListener listener) |
void |
Fingerprinter.perform(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
BuildWrapper.preCheckout(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Provides an opportunity for a
BuildWrapper to perform some actions before SCM checkout. |
BuildWrapper.Environment |
BuildWrapper.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
Builder runs (but after the checkout has occurred), and performs a set up. |
BuildWrapper.Environment |
BuildWrapper.setUp(Build build,
Launcher launcher,
BuildListener listener)
Deprecated.
since 2007-10-28.
Use
BuildWrapper.setUp(AbstractBuild, Launcher, BuildListener) instead. |
protected void |
Maven.wrapUpArguments(ArgumentListBuilder args,
String normalizedTarget,
AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Allows the derived type to make additional modifications to the arguments list.
|
Modifier and Type | Method and Description |
---|---|
void |
JDKInstaller.install(Launcher launcher,
JDKInstaller.Platform p,
JDKInstaller.FileSystem fs,
TaskListener log,
String expectedLocation,
String jdkBundle)
Performs the JDK installation to a system, provided that the bundle was already downloaded.
|
Modifier and Type | Method and Description |
---|---|
Launcher.ProcStarter |
JVMBuilder.launch(Launcher launcher)
Fills a
Launcher.ProcStarter with all the parameters configured by this builder. |
Modifier and Type | Method and Description |
---|---|
Launcher |
Jenkins.createLauncher(TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
StandardArtifactManager.archive(FilePath workspace,
Launcher launcher,
BuildListener listener,
Map<String,String> artifacts) |
abstract void |
ArtifactManager.archive(FilePath workspace,
Launcher launcher,
BuildListener listener,
Map<String,String> artifacts)
Archive all configured artifacts from a build.
|
Modifier and Type | Method and Description |
---|---|
void |
SCMCheckoutStrategy.preCheckout(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Performs the pre checkout step.
|
Modifier and Type | Method and Description |
---|---|
Launcher |
SimpleBuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
May be overridden but this will only take effect when used as a
BuildWrapper on an AbstractProject . |
Modifier and Type | Method and Description |
---|---|
Launcher |
SimpleBuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
May be overridden but this will only take effect when used as a
BuildWrapper on an AbstractProject . |
void |
SimpleBuildStep.perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Run this step.
|
void |
SimpleBuildWrapper.preCheckout(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
BuildWrapper.Environment |
SimpleBuildWrapper.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
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.
|
Copyright © 2016. All rights reserved.