Uses of Class
hudson.Launcher
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Listener interfaces for various events that occur inside the server.
Jenkins's interface with source code management systems.
Code related to agents.
Other miscellaneous utility code
-
Uses of Launcher in hudson
Modifier and TypeClassDescriptionstatic class
A launcher which delegates to a provided inner launcher.static class
static class
Launcher
that launches process locally.static class
Launches processes remotely by using the given channel.Modifier and TypeMethodDescriptionFilePath.createLauncher
(TaskListener listener) Creates aLauncher
for starting processes on the node that has this file.abstract Launcher
Called fromNode.createLauncher(TaskListener)
to decorate the launchers.final Launcher
Launcher.decorateByEnv
(EnvVars _env) Returns a decoratedLauncher
that automatically adds the specified environment variables.final Launcher
Launcher.decorateByPrefix
(String... prefix) Returns a decoratedLauncher
that puts the given set of arguments as a prefix to any commands that it invokes.final Launcher
Launcher.decorateFor
(Node node) Returns a decoratedLauncher
for the given node.Launcher.DecoratedLauncher.getInner()
Gets nested launcher.Modifier and TypeMethodDescriptionabstract Launcher
Called fromNode.createLauncher(TaskListener)
to decorate the launchers.ModifierConstructorDescriptionDecoratedLauncher
(Launcher inner) protected
Constructor for a decorator. -
Uses of Launcher in hudson.model
Modifier and TypeFieldDescriptionprotected 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 TypeMethodDescriptionprotected 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.Slave.createLauncher
(TaskListener listener) Creates a launcher for the agent.AbstractBuild.AbstractBuildExecution.getLauncher()
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionRunListener.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
Modifier and TypeMethodDescriptionSCM._calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.NullSCM.calcRevisionsFromBuild
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) SCM.calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.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.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.SCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Compares the current state of the remote repository against the given baselineSCMRevisionState
.final 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.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
Modifier and TypeMethodDescriptionEnvironmentVariablesNodeProperty.setUp
(AbstractBuild build, Launcher launcher, BuildListener listener) 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
Modifier and TypeMethodDescriptionBuildWrapper.decorateLauncher
(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapper
to decorate aLauncher
to be used in the build.Modifier and TypeMethodDescriptionBuildWrapper.decorateLauncher
(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapper
to decorate aLauncher
to be used in the build.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.setUp
(AbstractBuild build, Launcher launcher, BuildListener listener) Runs before theBuilder
runs (but after the checkout has occurred), and performs a set up.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
Modifier and TypeMethodDescriptionFills aLauncher.ProcStarter
with all the parameters configured by this builder. -
Uses of Launcher in jenkins.model
Modifier and TypeMethodDescriptionabstract 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
Modifier and TypeMethodDescriptionvoid
SCMCheckoutStrategy.preCheckout
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Performs the pre checkout step. -
Uses of Launcher in jenkins.tasks
Modifier and TypeMethodDescriptionSimpleBuildWrapper.decorateLauncher
(AbstractBuild build, Launcher launcher, BuildListener listener) May be overridden but this will only take effect when used as aBuildWrapper
on anAbstractProject
.Modifier and TypeMethodDescriptionSimpleBuildWrapper.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.final void
SimpleBuildWrapper.preCheckout
(AbstractBuild build, Launcher launcher, BuildListener listener) final 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
Modifier and TypeMethodDescriptionstatic 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) ModifierConstructorDescriptionEnvVarsFilterRuleContext
(Launcher launcher, TaskListener taskListener)
SCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener)
andSCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState)
for implementation.