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 classLauncher.DecoratedLauncherA launcher which delegates to a provided inner launcher.static classLauncher.DummyLauncherstatic classLauncher.LocalLauncherLauncherthat launches process locally.static classLauncher.RemoteLauncherLaunches processes remotely by using the given channel.Methods in hudson that return Launcher Modifier and Type Method Description LauncherFilePath. createLauncher(TaskListener listener)Creates aLauncherfor starting processes on the node that has this file.abstract LauncherLauncherDecorator. decorate(Launcher launcher, Node node)Called fromNode.createLauncher(TaskListener)to decorate the launchers.LauncherLauncher. decorateByEnv(EnvVars _env)Returns a decoratedLauncherthat automatically adds the specified environment variables.LauncherLauncher. decorateByPrefix(String... prefix)Returns a decoratedLauncherthat puts the given set of arguments as a prefix to any commands that it invokes.LauncherLauncher. decorateFor(Node node)Returns a decoratedLauncherfor the given node.LauncherLauncher.DecoratedLauncher. getInner()Gets nested launcher.Methods in hudson with parameters of type Launcher Modifier and Type Method Description abstract LauncherLauncherDecorator. 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 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 Launcher Modifier and Type Method Description protected LauncherAbstractBuild.AbstractBuildExecution. createLauncher(BuildListener listener)Creates aLauncherthat this build will use.abstract LauncherNode. createLauncher(TaskListener listener)Returns aLauncherfor executing programs on this node.LauncherSlave. createLauncher(TaskListener listener)Creates a launcher for the agent.LauncherAbstractBuild.AbstractBuildExecution. getLauncher()Methods in hudson.model with parameters of type Launcher Modifier and Type Method Description booleanAbstractProject. 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 Launcher Modifier and Type Method Description EnvironmentRunListener. 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 SCMRevisionStateSCM. _calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)Deprecated.SCMRevisionStateNullSCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)SCMRevisionStateSCM. calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)Deprecated.SCMRevisionStateSCM. 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.PollingResultNullSCM. 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.PollingResultSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)Compares the current state of the remote repository against the given baselineSCMRevisionState.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.as of 1.345 OverrideSCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener)andSCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState)for implementation.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 Launcher Modifier and Type Method Description EnvironmentEnvironmentVariablesNodeProperty. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)EnvironmentNodeProperty. 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 LauncherBuildWrapper. 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 Launcher Modifier and Type Method Description LauncherBuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)Provides an opportunity for aBuildWrapperto decorate aLauncherto be used in the build.StringMaven.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.EnvironmentBuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)Runs before theBuilderruns (but after the checkout has occurred), and performs a set up.BuildWrapper.EnvironmentBuildWrapper. 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 Launcher Modifier and Type Method Description Launcher.ProcStarterJVMBuilder. launch(Launcher launcher)Fills aLauncher.ProcStarterwith 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 LauncherJenkins. createLauncher(TaskListener listener)Methods in jenkins.model with parameters of type Launcher Modifier and Type Method Description abstract 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 Launcher Modifier and Type Method Description voidSCMCheckoutStrategy. 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 LauncherSimpleBuildWrapper. 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 Launcher Modifier and Type Method Description LauncherSimpleBuildWrapper. 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.voidSimpleBuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)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 Launcher Modifier and Type Method Description LauncherEnvVarsFilterRuleContext. getLauncher()Methods in jenkins.tasks.filters with parameters of type Launcher Modifier and Type Method Description static 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 Launcher Constructor Description EnvVarsFilterRuleContext(Launcher launcher, TaskListener taskListener)
-