Uses of Interface
hudson.model.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
Modifier and TypeFieldDescriptionprotected BuildListener
AbstractBuild.AbstractBuildExecution.listener
Output/progress of this build goes here.Modifier and TypeMethodDescriptionvoid
WorkspaceListener.beforeUse
(AbstractBuild b, FilePath workspace, BuildListener listener) Called before a build uses a workspace.void
CheckPoint.block
(BuildListener listener, String waiter) LikeCheckPoint.block()
but allows for richer logging.boolean
AbstractProject.checkout
(AbstractBuild build, Launcher launcher, BuildListener listener, File changelogFile) void
AbstractBuild.AbstractBuildExecution.cleanUp
(BuildListener listener) void
Build.BuildExecution.cleanUp
(BuildListener listener) abstract void
Run.RunExecution.cleanUp
(BuildListener listener) Performs final clean up action.protected Launcher
AbstractBuild.AbstractBuildExecution.createLauncher
(BuildListener listener) Creates aLauncher
that this build will use.protected abstract Result
AbstractBuild.AbstractBuildExecution.doRun
(BuildListener listener) The portion of a build that is specific to a subclass ofAbstractBuild
goes here.protected Result
Build.BuildExecution.doRun
(BuildListener listener) abstract void
BuildStepListener.finished
(AbstractBuild build, BuildStep bs, BuildListener listener, boolean canContinue) Called when a buildStep has completed.protected final boolean
AbstractBuild.AbstractBuildExecution.perform
(BuildStep bs, BuildListener listener) Calls a build step.boolean
JobProperty.perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Runs the step over the given build and reports the progress to the listener.protected final void
AbstractBuild.AbstractBuildExecution.performAllBuildStep
(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase) Deprecated.protected final void
AbstractBuild.AbstractBuildExecution.performAllBuildStep
(BuildListener listener, Map<?, ? extends BuildStep> buildSteps, boolean phase) Deprecated.protected final boolean
AbstractBuild.AbstractBuildExecution.performAllBuildSteps
(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase) Runs all the given build steps, even if one of them fail.protected final boolean
AbstractBuild.AbstractBuildExecution.performAllBuildSteps
(BuildListener listener, Map<?, ? extends BuildStep> buildSteps, boolean phase) final void
AbstractBuild.AbstractBuildExecution.post
(BuildListener listener) abstract void
Run.RunExecution.post
(BuildListener listener) Performs the post-build action.protected abstract void
AbstractBuild.AbstractBuildExecution.post2
(BuildListener listener) void
Build.BuildExecution.post2
(BuildListener listener) boolean
JobProperty.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) protected final boolean
AbstractBuild.AbstractBuildExecution.preBuild
(BuildListener listener, Iterable<? extends BuildStep> steps) protected final boolean
AbstractBuild.AbstractBuildExecution.preBuild
(BuildListener listener, Collection<? extends BuildStep> steps) protected final boolean
AbstractBuild.AbstractBuildExecution.preBuild
(BuildListener listener, Map<?, ? extends BuildStep> steps) AbstractBuild.AbstractBuildExecution.run
(BuildListener listener) abstract Result
Run.RunExecution.run
(BuildListener listener) Performs the main build and returns the status code.abstract void
BuildStepListener.started
(AbstractBuild build, BuildStep bs, BuildListener listener) Called when a buildStep is performed.boolean
Environment.tearDown
(AbstractBuild build, BuildListener listener) Runs after theBuilder
completes, and performs a tear down. -
Uses of BuildListener in hudson.model.listeners
Modifier and TypeMethodDescriptionvoid
SCMListener.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
Modifier and TypeMethodDescriptionboolean
SCM.checkout
(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) Deprecated.protected final boolean
SCM.createEmptyChangeLog
(File changelogFile, BuildListener listener, String rootTag) Deprecated.void
SCM.postCheckout
(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener) Deprecated. -
Uses of BuildListener 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 BuildListener 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.static boolean
BuildTrigger.execute
(AbstractBuild build, BuildListener listener) Convenience method to trigger downstream builds.static boolean
BuildTrigger.execute
(AbstractBuild build, BuildListener listener, BuildTrigger trigger) Deprecated.since 1.341; useBuildTrigger.execute(AbstractBuild,BuildListener)
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
Maven.perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) boolean
Builder.prebuild
(Build build, BuildListener listener) Default implementation that does nothing.boolean
BuildStep.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) Runs before the build begins.boolean
BuildStepCompatibilityLayer.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) Deprecated.boolean
BuildStepCompatibilityLayer.prebuild
(Build<?, ?> build, BuildListener listener) Deprecated.boolean
Publisher.prebuild
(Build build, BuildListener listener) Deprecated.since 1.150void
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.boolean
BuildWrapper.Environment.tearDown
(AbstractBuild build, BuildListener listener) Runs after theBuilder
completes, and performs a tear down.boolean
BuildWrapper.Environment.tearDown
(Build build, 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 BuildListener 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 BuildListener in jenkins.scm
Modifier and TypeMethodDescriptionvoid
SCMCheckoutStrategy.preCheckout
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Performs the pre checkout step. -
Uses of BuildListener 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
.final void
SimpleBuildWrapper.preCheckout
(AbstractBuild build, Launcher launcher, BuildListener listener) final BuildWrapper.Environment
SimpleBuildWrapper.setUp
(AbstractBuild build, Launcher launcher, BuildListener listener) -
Uses of BuildListener in jenkins.util
Modifier and TypeClassDescriptionfinal class
Wraps aTaskListener
as aBuildListener
for compatibility with APIs which historically expected the latter.
AbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener, Iterable, boolean)