Uses of Class
hudson.Launcher
Packages that use 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 classA launcher which delegates to a provided inner launcher.static classstatic classLauncherthat launches process locally.static classLaunches processes remotely by using the given channel.Modifier and TypeMethodDescriptionFilePath.createLauncher(TaskListener listener) Creates aLauncherfor starting processes on the node that has this file.abstract LauncherCalled fromNode.createLauncher(TaskListener)to decorate the launchers.final LauncherLauncher.decorateByEnv(EnvVars _env) Returns a decoratedLauncherthat automatically adds the specified environment variables.final LauncherLauncher.decorateByPrefix(String... prefix) Returns a decoratedLauncherthat puts the given set of arguments as a prefix to any commands that it invokes.final LauncherLauncher.decorateFor(Node node) Returns a decoratedLauncherfor the given node.Launcher.DecoratedLauncher.getInner()Gets nested launcher.Modifier and TypeMethodDescriptionabstract LauncherCalled fromNode.createLauncher(TaskListener)to decorate the launchers.ModifierConstructorDescriptionDecoratedLauncher(Launcher inner) protectedConstructor for a decorator. -
Uses of Launcher in hudson.model
Fields in hudson.model declared as LauncherModifier and TypeFieldDescriptionprotected LauncherAbstractBuild.AbstractBuildExecution.launcherSince 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 LauncherModifier and TypeMethodDescriptionprotected LauncherAbstractBuild.AbstractBuildExecution.createLauncher(BuildListener listener) Creates aLauncherthat this build will use.abstract LauncherNode.createLauncher(TaskListener listener) Returns aLauncherfor executing programs on this node.Slave.createLauncher(TaskListener listener) Creates a launcher for the agent.AbstractBuild.AbstractBuildExecution.getLauncher()Methods in hudson.model with parameters of type LauncherModifier and TypeMethodDescriptionbooleanAbstractProject.checkout(AbstractBuild build, Launcher launcher, BuildListener listener, File changelogFile) booleanJobProperty.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 LauncherModifier 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
Methods in hudson.scm with parameters of type LauncherModifier 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 theSCMRevisionStatethat represents the state of the workspace of the given build.voidNullSCM.checkout(Run<?, ?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline) booleanSCM.checkout(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) Deprecated.voidSCM.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 PollingResultSCM.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 PollingResultSCM.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.booleanSCM.pollChanges(AbstractProject<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener) Deprecated.voidSCM.postCheckout(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener) Deprecated.voidSCM.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 LauncherModifier 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
Methods in hudson.tasks that return LauncherModifier and TypeMethodDescriptionBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapperto decorate aLauncherto be used in the build.Methods in hudson.tasks with parameters of type LauncherModifier and TypeMethodDescriptionBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapperto decorate aLauncherto be used in the build.Maven.MavenInstallation.getExecutable(Launcher launcher) Gets the executable path of this maven on the given target system.booleanMaven.MavenInstallation.isMaven2_1(Launcher launcher) Is this Maven 2.1.x or 2.2.x - but not Maven 3.x?booleanMaven.MavenInstallation.meetsMavenReqVersion(Launcher launcher, int mavenReqVersion) Compares the version of this Maven installation to the minimum required version specified.voidArtifactArchiver.perform(Run<?, ?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener) booleanBuildStep.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Runs the step over the given build and reports the progress to the listener.booleanBuildStepCompatibilityLayer.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Deprecated.booleanBuildStepCompatibilityLayer.perform(Build<?, ?> build, Launcher launcher, BuildListener listener) Deprecated.abstract booleanBuildStepMonitor.perform(BuildStep bs, AbstractBuild build, Launcher launcher, BuildListener listener) CallsBuildStep.perform(AbstractBuild, Launcher, BuildListener)with the proper synchronization.booleanBuildTrigger.perform(AbstractBuild build, Launcher launcher, BuildListener listener) booleanCommandInterpreter.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) booleanCommandInterpreter.perform(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) voidFingerprinter.perform(Run<?, ?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener) booleanMaven.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidBuildWrapper.preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapperto perform some actions before SCM checkout.BuildWrapper.setUp(AbstractBuild build, Launcher launcher, BuildListener listener) Runs before theBuilderruns (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 voidMaven.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 LauncherModifier and TypeMethodDescriptionFills aLauncher.ProcStarterwith all the parameters configured by this builder. -
Uses of Launcher in jenkins.model
Methods in jenkins.model that return LauncherMethods in jenkins.model with parameters of type LauncherModifier and TypeMethodDescriptionabstract voidArtifactManager.archive(FilePath workspace, Launcher launcher, BuildListener listener, Map<String, String> artifacts) Archive all configured artifacts from a build.voidStandardArtifactManager.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 LauncherModifier and TypeMethodDescriptionvoidSCMCheckoutStrategy.preCheckout(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Performs the pre checkout step. -
Uses of Launcher in jenkins.tasks
Methods in jenkins.tasks that return LauncherModifier and TypeMethodDescriptionSimpleBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) May be overridden but this will only take effect when used as aBuildWrapperon anAbstractProject.Methods in jenkins.tasks with parameters of type LauncherModifier and TypeMethodDescriptionSimpleBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) May be overridden but this will only take effect when used as aBuildWrapperon anAbstractProject.default voidSimpleBuildStep.perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) Run this step.default voidSimpleBuildStep.perform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) Deprecated.final voidSimpleBuildWrapper.preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener) final BuildWrapper.EnvironmentSimpleBuildWrapper.setUp(AbstractBuild build, Launcher launcher, BuildListener listener) voidSimpleBuildWrapper.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.voidSimpleBuildWrapper.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 LauncherMethods in jenkins.tasks.filters with parameters of type LauncherModifier and TypeMethodDescriptionstatic EnvVarsFilterRuleWrapperEnvVarsFilterRuleWrapper.createRuleWrapper(Run<?, ?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules) voidEnvVarsFilterRuleWrapper.filter(EnvVars envVars, Launcher launcher, TaskListener listener) booleanEnvVarsFilterGlobalRule.isApplicable(Run<?, ?> run, Object builder, Launcher launcher) Constructors in jenkins.tasks.filters with parameters of type LauncherModifierConstructorDescriptionEnvVarsFilterRuleContext(Launcher launcher, TaskListener taskListener)
SCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener)andSCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState)for implementation.