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 classStreamBuildListenerBuildListenerthat writes to anOutputStream.Fields in hudson.model declared as BuildListener Modifier and Type Field Description protected BuildListenerAbstractBuild.AbstractBuildExecution. listenerOutput/progress of this build goes here.Methods in hudson.model that return BuildListener Modifier and Type Method Description BuildListenerAbstractBuild.AbstractBuildExecution. getListener()Methods in hudson.model with parameters of type BuildListener Modifier and Type Method Description voidWorkspaceListener. 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 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 voidAbstractBuild.AbstractBuildExecution. performAllBuildStep(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase)Deprecated.protected voidAbstractBuild.AbstractBuildExecution. performAllBuildStep(BuildListener listener, Map<?,? extends BuildStep> buildSteps, boolean phase)Deprecated.protected booleanAbstractBuild.AbstractBuildExecution. performAllBuildSteps(BuildListener listener, Iterable<? extends BuildStep> buildSteps, boolean phase)Runs all the given build steps, even if one of them fail.protected booleanAbstractBuild.AbstractBuildExecution. performAllBuildSteps(BuildListener listener, Map<?,? extends BuildStep> buildSteps, boolean phase)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 booleanAbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Iterable<? extends BuildStep> steps)protected booleanAbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Collection<? extends BuildStep> steps)protected booleanAbstractBuild.AbstractBuildExecution. preBuild(BuildListener listener, Map<?,? extends BuildStep> steps)ResultAbstractBuild.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 BuildListener Modifier and Type Method Description voidSCMListener. onChangeLogParsed(AbstractBuild<?,?> build, BuildListener listener, ChangeLogSet<?> changelog)Deprecated.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 BuildListener in hudson.scm
Methods in hudson.scm with parameters of type BuildListener Modifier and Type Method Description booleanSCM. checkout(AbstractBuild<?,?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile)Deprecated.protected 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 BuildListener 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 BuildListener in hudson.tasks
Methods in hudson.tasks with parameters of type BuildListener 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.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.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.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 BuildListener 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 BuildListener in jenkins.scm
Methods in jenkins.scm with parameters of type BuildListener Modifier and Type Method Description voidSCMCheckoutStrategy. 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 LauncherSimpleBuildWrapper. decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)May be overridden but this will only take effect when used as aBuildWrapperon anAbstractProject.voidSimpleBuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)BuildWrapper.EnvironmentSimpleBuildWrapper. 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 classBuildListenerAdapterWraps aTaskListeneras aBuildListenerfor compatibility with APIs which historically expected the latter.Methods in jenkins.util that return BuildListener Modifier and Type Method Description static BuildListenerBuildListenerAdapter. wrap(TaskListener l)
-