Uses of Interface
hudson.model.BuildListener
Packages that use BuildListener
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.
-
Uses of BuildListener in hudson.model
Classes in hudson.model that implement BuildListenerFields in hudson.model declared as BuildListenerModifier and TypeFieldDescriptionprotected BuildListenerAbstractBuild.AbstractBuildExecution.listenerOutput/progress of this build goes here.Methods in hudson.model that return BuildListenerMethods in hudson.model with parameters of type BuildListenerModifier and TypeMethodDescriptionvoidWorkspaceListener.beforeUse(AbstractBuild b, FilePath workspace, BuildListener listener) Called before a build uses a workspace.voidCheckPoint.block(BuildListener listener, String waiter) LikeCheckPoint.block()but allows for richer logging.booleanAbstractProject.checkout(AbstractBuild build, Launcher launcher, BuildListener listener, File changelogFile) voidAbstractBuild.AbstractBuildExecution.cleanUp(BuildListener listener) voidBuild.BuildExecution.cleanUp(BuildListener listener) abstract voidRun.RunExecution.cleanUp(BuildListener listener) Performs final clean up action.protected LauncherAbstractBuild.AbstractBuildExecution.createLauncher(BuildListener listener) Creates aLauncherthat this build will use.protected abstract ResultAbstractBuild.AbstractBuildExecution.doRun(BuildListener listener) The portion of a build that is specific to a subclass ofAbstractBuildgoes here.protected ResultBuild.BuildExecution.doRun(BuildListener listener) abstract voidBuildStepListener.finished(AbstractBuild build, BuildStep bs, BuildListener listener, boolean canContinue) Called when a buildStep has completed.protected final booleanAbstractBuild.AbstractBuildExecution.perform(BuildStep bs, BuildListener listener) Calls a build step.booleanJobProperty.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Runs the step over the given build and reports the progress to the listener.protected final voidAbstractBuild.AbstractBuildExecution.performAllBuildStep(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase) Deprecated.protected final voidAbstractBuild.AbstractBuildExecution.performAllBuildStep(BuildListener listener, Map<?, ? extends BuildStep> buildSteps, boolean phase) Deprecated.protected final booleanAbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase) Runs all the given build steps, even if one of them fail.protected final booleanAbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener listener, Map<?, ? extends BuildStep> buildSteps, boolean phase) final voidAbstractBuild.AbstractBuildExecution.post(BuildListener listener) abstract voidRun.RunExecution.post(BuildListener listener) Performs the post-build action.protected abstract voidAbstractBuild.AbstractBuildExecution.post2(BuildListener listener) voidBuild.BuildExecution.post2(BuildListener listener) booleanJobProperty.prebuild(AbstractBuild<?, ?> build, BuildListener listener) protected final booleanAbstractBuild.AbstractBuildExecution.preBuild(BuildListener listener, Iterable<? extends BuildStep> steps) protected final booleanAbstractBuild.AbstractBuildExecution.preBuild(BuildListener listener, Collection<? extends BuildStep> steps) protected final booleanAbstractBuild.AbstractBuildExecution.preBuild(BuildListener listener, Map<?, ? extends BuildStep> steps) AbstractBuild.AbstractBuildExecution.run(BuildListener listener) abstract ResultRun.RunExecution.run(BuildListener listener) Performs the main build and returns the status code.abstract voidBuildStepListener.started(AbstractBuild build, BuildStep bs, BuildListener listener) Called when a buildStep is performed.booleanEnvironment.tearDown(AbstractBuild build, BuildListener listener) Runs after theBuildercompletes, and performs a tear down. -
Uses of BuildListener in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type BuildListenerModifier and TypeMethodDescriptionvoidSCMListener.onChangeLogParsed(AbstractBuild<?, ?> build, BuildListener listener, ChangeLogSet<?> changelog) Deprecated.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 BuildListener in hudson.scm
Methods in hudson.scm with parameters of type BuildListenerModifier and TypeMethodDescriptionbooleanSCM.checkout(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) Deprecated.protected final booleanSCM.createEmptyChangeLog(File changelogFile, BuildListener listener, String rootTag) Deprecated.voidSCM.postCheckout(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener) Deprecated. -
Uses of BuildListener in hudson.slaves
Methods in hudson.slaves with parameters of type BuildListenerModifier 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 BuildListener in hudson.tasks
Methods in hudson.tasks with parameters of type BuildListenerModifier and TypeMethodDescriptionBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) Provides an opportunity for aBuildWrapperto decorate aLauncherto be used in the build.static booleanBuildTrigger.execute(AbstractBuild build, BuildListener listener) Convenience method to trigger downstream builds.static booleanBuildTrigger.execute(AbstractBuild build, BuildListener listener, BuildTrigger trigger) Deprecated.since 1.341; useBuildTrigger.execute(AbstractBuild,BuildListener)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) booleanMaven.perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) booleanBuilder.prebuild(Build build, BuildListener listener) Default implementation that does nothing.booleanBuildStep.prebuild(AbstractBuild<?, ?> build, BuildListener listener) Runs before the build begins.booleanBuildStepCompatibilityLayer.prebuild(AbstractBuild<?, ?> build, BuildListener listener) Deprecated.booleanBuildStepCompatibilityLayer.prebuild(Build<?, ?> build, BuildListener listener) Deprecated.booleanPublisher.prebuild(Build build, BuildListener listener) Deprecated.since 1.150voidBuildWrapper.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.booleanBuildWrapper.Environment.tearDown(AbstractBuild build, BuildListener listener) Runs after theBuildercompletes, and performs a tear down.booleanBuildWrapper.Environment.tearDown(Build build, 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 BuildListener in jenkins.model
Methods in jenkins.model with parameters of type BuildListenerModifier 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 BuildListener in jenkins.scm
Methods in jenkins.scm with parameters of type BuildListenerModifier and TypeMethodDescriptionvoidSCMCheckoutStrategy.preCheckout(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Performs the pre checkout step. -
Uses of BuildListener in jenkins.tasks
Methods in jenkins.tasks with parameters of type BuildListenerModifier and TypeMethodDescriptionSimpleBuildWrapper.decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) May be overridden but this will only take effect when used as aBuildWrapperon anAbstractProject.final voidSimpleBuildWrapper.preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener) final BuildWrapper.EnvironmentSimpleBuildWrapper.setUp(AbstractBuild build, Launcher launcher, BuildListener listener) -
Uses of BuildListener in jenkins.util
Classes in jenkins.util that implement BuildListenerModifier and TypeClassDescriptionfinal classWraps aTaskListeneras aBuildListenerfor compatibility with APIs which historically expected the latter.Methods in jenkins.util that return BuildListener
AbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener, Iterable, boolean)