Uses of Class
hudson.Launcher
-
Packages that use Launcher Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.scm Jenkins's interface with source code management systems.hudson.slaves Code related to agents.hudson.tasks hudson.util Other miscellaneous utility codejenkins.model jenkins.scm jenkins.tasks jenkins.tasks.filters -
-
Uses of Launcher in hudson
Subclasses of Launcher in hudson Modifier and Type Class 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.Methods in hudson that return Launcher Modifier and Type Method Description Launcher
FilePath. createLauncher(TaskListener listener)
Creates aLauncher
for starting processes on the node that has this file.abstract Launcher
LauncherDecorator. decorate(Launcher launcher, Node node)
Called fromNode.createLauncher(TaskListener)
to decorate the launchers.Launcher
Launcher. decorateByEnv(EnvVars _env)
Returns a decoratedLauncher
that automatically adds the specified environment variables.Launcher
Launcher. decorateByPrefix(String... prefix)
Returns a decoratedLauncher
that puts the given set of arguments as a prefix to any commands that it invokes.Launcher
Launcher. decorateFor(Node node)
Returns a decoratedLauncher
for the given node.Launcher
Launcher.DecoratedLauncher. getInner()
Gets nested launcher.Methods in hudson with parameters of type Launcher Modifier and Type Method Description abstract Launcher
LauncherDecorator. decorate(Launcher launcher, Node node)
Called fromNode.createLauncher(TaskListener)
to decorate the launchers.Constructors in hudson with parameters of type Launcher Constructor Description DecoratedLauncher(Launcher inner)
Launcher(Launcher launcher)
Constructor for a decorator. -
Uses of Launcher in hudson.model
Fields in hudson.model declared as Launcher Modifier and Type Field 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.Methods in hudson.model that return Launcher Modifier and Type Method Description protected Launcher
AbstractBuild.AbstractBuildExecution. createLauncher(BuildListener listener)
Creates aLauncher
that this build will use.abstract Launcher
Node. createLauncher(TaskListener listener)
Returns aLauncher
for executing programs on this node.Launcher
Slave. createLauncher(TaskListener listener)
Creates a launcher for the agent.Launcher
AbstractBuild.AbstractBuildExecution. getLauncher()
Methods in hudson.model with parameters of type Launcher Modifier and Type Method 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. -
Uses of Launcher in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type Launcher Modifier and Type Method Description Environment
RunListener. setUpEnvironment(AbstractBuild build, Launcher launcher, BuildListener listener)
Runs before theSCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File)
runs, and performs a set up. -
Uses of Launcher in hudson.scm
Methods in hudson.scm with parameters of type Launcher Modifier and Type Method Description SCMRevisionState
SCM. _calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
NullSCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
SCMRevisionState
SCM. calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
SCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Calculates theSCMRevisionState
that represents the state of the workspace of the given build.void
NullSCM. checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline)
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.PollingResult
NullSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, 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 baselineSCMRevisionState
.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 OverrideSCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener)
andSCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState)
for implementation.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. -
Uses of Launcher in hudson.slaves
Methods in hudson.slaves with parameters of type Launcher Modifier and Type Method Description Environment
EnvironmentVariablesNodeProperty. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
Environment
NodeProperty. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
Runs before theSCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File)
runs, and performs a set up. -
Uses of Launcher in hudson.tasks
Methods in hudson.tasks that return Launcher Modifier and Type Method Description Launcher
BuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
Provides an opportunity for aBuildWrapper
to decorate aLauncher
to be used in the build.Methods in hudson.tasks with parameters of type Launcher Modifier and Type Method Description Launcher
BuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
Provides an opportunity for aBuildWrapper
to decorate aLauncher
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.void
ArtifactArchiver. perform(Run<?,?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener)
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.boolean
BuildStepCompatibilityLayer. perform(Build<?,?> build, Launcher launcher, BuildListener listener)
Deprecated.abstract boolean
BuildStepMonitor. perform(BuildStep bs, AbstractBuild build, Launcher launcher, BuildListener listener)
CallsBuildStep.perform(AbstractBuild, Launcher, BuildListener)
with the proper synchronization.boolean
BuildTrigger. perform(AbstractBuild build, Launcher launcher, BuildListener listener)
boolean
CommandInterpreter. perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
boolean
CommandInterpreter. perform(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
void
Fingerprinter. perform(Run<?,?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener)
boolean
Maven. perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
BuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)
Provides an opportunity for aBuildWrapper
to perform some actions before SCM checkout.BuildWrapper.Environment
BuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
Runs before theBuilder
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.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. -
Uses of Launcher in hudson.util
Methods in hudson.util with parameters of type Launcher Modifier and Type Method Description Launcher.ProcStarter
JVMBuilder. launch(Launcher launcher)
Fills aLauncher.ProcStarter
with all the parameters configured by this builder. -
Uses of Launcher in jenkins.model
Methods in jenkins.model that return Launcher Modifier and Type Method Description Launcher
Jenkins. createLauncher(TaskListener listener)
Methods in jenkins.model with parameters of type Launcher Modifier and Type Method 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)
-
Uses of Launcher in jenkins.scm
Methods in jenkins.scm with parameters of type Launcher Modifier and Type Method Description void
SCMCheckoutStrategy. preCheckout(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
Performs the pre checkout step. -
Uses of Launcher in jenkins.tasks
Methods in jenkins.tasks that return Launcher Modifier and Type Method Description Launcher
SimpleBuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
May be overridden but this will only take effect when used as aBuildWrapper
on anAbstractProject
.Methods in jenkins.tasks with parameters of type Launcher Modifier and Type Method Description Launcher
SimpleBuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
May be overridden but this will only take effect when used as aBuildWrapper
on anAbstractProject
.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)
Run this step.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Deprecated.void
SimpleBuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)
BuildWrapper.Environment
SimpleBuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
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.void
SimpleBuildWrapper.Disposer. tearDown(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Attempt to clean up anything that was done in the initial setup. -
Uses of Launcher in jenkins.tasks.filters
Methods in jenkins.tasks.filters that return Launcher Modifier and Type Method Description Launcher
EnvVarsFilterRuleContext. getLauncher()
Methods in jenkins.tasks.filters with parameters of type Launcher Modifier and Type Method Description static EnvVarsFilterRuleWrapper
EnvVarsFilterRuleWrapper. createRuleWrapper(Run<?,?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules)
void
EnvVarsFilterRuleWrapper. filter(EnvVars envVars, Launcher launcher, TaskListener listener)
boolean
EnvVarsFilterGlobalRule. isApplicable(Run<?,?> run, Object builder, Launcher launcher)
Constructors in jenkins.tasks.filters with parameters of type Launcher Constructor Description EnvVarsFilterRuleContext(Launcher launcher, TaskListener taskListener)
-