Uses of Interface
hudson.model.BuildListener
-
Packages that use BuildListener Package Description 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 jenkins.model jenkins.scm jenkins.tasks jenkins.util -
-
Uses of BuildListener in hudson.model
Classes in hudson.model that implement BuildListener Modifier and Type Class Description class
StreamBuildListener
BuildListener
that writes to anOutputStream
.Fields in hudson.model declared as BuildListener Modifier and Type Field Description protected BuildListener
AbstractBuild.AbstractBuildExecution. listener
Output/progress of this build goes here.Methods in hudson.model that return BuildListener Modifier and Type Method Description BuildListener
AbstractBuild.AbstractBuildExecution. getListener()
Methods in hudson.model with parameters of type BuildListener Modifier and Type Method Description void
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 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 void
AbstractBuild.AbstractBuildExecution. performAllBuildStep(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase)
Deprecated.protected void
AbstractBuild.AbstractBuildExecution. performAllBuildStep(BuildListener listener, Map<?,? extends BuildStep> buildSteps, boolean phase)
Deprecated.protected 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 boolean
AbstractBuild.AbstractBuildExecution. performAllBuildSteps(BuildListener listener, Map<?,? extends BuildStep> buildSteps, boolean phase)
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 boolean
AbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Iterable<? extends BuildStep> steps)
protected boolean
AbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Collection<? extends BuildStep> steps)
protected boolean
AbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Map<?,? extends BuildStep> steps)
Result
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
Methods in hudson.model.listeners with parameters of type BuildListener Modifier and Type Method Description void
SCMListener. onChangeLogParsed(AbstractBuild<?,?> build, BuildListener listener, ChangeLogSet<?> changelog)
Deprecated.Environment
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 BuildListener Modifier and Type Method Description boolean
SCM. checkout(AbstractBuild<?,?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile)
Deprecated.protected 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
Methods in hudson.slaves with parameters of type BuildListener Modifier and Type Method Description Environment
EnvironmentVariablesNodeProperty. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
Environment
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 BuildListener Modifier and Type Method Description Launcher
BuildWrapper. 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.Environment
BuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
Runs before theBuilder
runs (but after the checkout has occurred), and performs a set up.BuildWrapper.Environment
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
Methods in jenkins.model with parameters of type BuildListener Modifier and Type Method Description abstract 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
Methods in jenkins.scm with parameters of type BuildListener Modifier and Type Method Description void
SCMCheckoutStrategy. 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 BuildListener Modifier and Type Method Description Launcher
SimpleBuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
May be overridden but this will only take effect when used as aBuildWrapper
on anAbstractProject
.void
SimpleBuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)
BuildWrapper.Environment
SimpleBuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Uses of BuildListener in jenkins.util
Classes in jenkins.util that implement BuildListener Modifier and Type Class Description class
BuildListenerAdapter
Wraps aTaskListener
as aBuildListener
for compatibility with APIs which historically expected the latter.Methods in jenkins.util that return BuildListener Modifier and Type Method Description static BuildListener
BuildListenerAdapter. wrap(TaskListener l)
-