Uses of Interface
hudson.model.TaskListener
-
Packages that use TaskListener Package Description hudson hudson.cli Server-side CLI commands for Hudson.hudson.logging 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.model.queue hudson.node_monitors Code that monitors the health of agentshudson.os hudson.scm Jenkins's interface with source code management systems.hudson.slaves Code related to agents.hudson.tasks hudson.tools hudson.util Other miscellaneous utility codejenkins jenkins.fingerprints jenkins.management jenkins.model jenkins.model.queue jenkins.mvn jenkins.security jenkins.slaves jenkins.slaves.restarter jenkins.tasks jenkins.tasks.filters jenkins.telemetry jenkins.triggers jenkins.util -
-
Uses of TaskListener in hudson
Fields in hudson declared as TaskListener Modifier and Type Field Description protected TaskListener
Launcher. listener
Methods in hudson that return TaskListener Modifier and Type Method Description TaskListener
Launcher.DecoratedLauncher. getListener()
TaskListener
Launcher. getListener()
Gets theTaskListener
that this launcher uses to report the commands that it's executing.Methods in hudson with parameters of type TaskListener Modifier and Type Method Description Launcher
FilePath. createLauncher(TaskListener listener)
Creates aLauncher
for starting processes on the node that has this file.static void
Util. createSymlink(File baseDir, String targetPath, String symlinkPath, TaskListener listener)
Creates a symlink to targetPath at baseDir+symlinkPath.static void
Util. displayIOException(IOException e, TaskListener listener)
On Windows, error messages for IOException aren't very helpful.boolean
FilePath. installIfNecessaryFrom(URL archive, TaskListener listener, String message)
Given a tgz/zip file, extracts it to the given target directory, if necessary.int
Proc. joinWithTimeout(long timeout, TimeUnit unit, TaskListener listener)
LikeProc.join()
but can be given a maximum time to wait.void
FileSystemProvisioner.Default. prepareWorkspace(AbstractBuild<?,?> build, FilePath ws, TaskListener listener)
abstract void
FileSystemProvisioner. prepareWorkspace(AbstractBuild<?,?> build, FilePath ws, TaskListener listener)
Deprecated.static String
Util. resolveSymlink(File link, TaskListener listener)
Deprecated.as of 1.456 UseUtil.resolveSymlink(File)
abstract void
WorkspaceSnapshot. restoreTo(AbstractBuild<?,?> owner, FilePath dst, TaskListener listener)
Deprecated.Restores the snapshot to the given file system location.WorkspaceSnapshot
FileSystemProvisioner.Default. snapshot(AbstractBuild<?,?> build, FilePath ws, String glob, TaskListener listener)
abstract WorkspaceSnapshot
FileSystemProvisioner. snapshot(AbstractBuild<?,?> build, FilePath ws, String glob, TaskListener listener)
Deprecated.Launcher.ProcStarter
Launcher.ProcStarter. stdout(TaskListener out)
Sends the stdout to the givenTaskListener
.void
FilePath. symlinkTo(String target, TaskListener listener)
Creates a symlink to the specified target.Constructors in hudson with parameters of type TaskListener Constructor Description DummyLauncher(TaskListener listener)
Launcher(TaskListener listener, hudson.remoting.VirtualChannel channel)
LocalLauncher(TaskListener listener)
LocalLauncher(TaskListener listener, hudson.remoting.VirtualChannel channel)
RemoteLauncher(TaskListener listener, hudson.remoting.VirtualChannel channel, boolean isUnix)
-
Uses of TaskListener in hudson.cli
Methods in hudson.cli with parameters of type TaskListener Modifier and Type Method Description void
BuildCommand.CLICause. print(TaskListener listener)
-
Uses of TaskListener in hudson.logging
Methods in hudson.logging with parameters of type TaskListener Modifier and Type Method Description void
LogRecorder.ComputerLogInitializer. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
-
Uses of TaskListener in hudson.model
Subinterfaces of TaskListener in hudson.model Modifier and Type Interface Description interface
BuildListener
Receives events that happen during a build.Classes in hudson.model that implement TaskListener Modifier and Type Class Description class
StreamBuildListener
BuildListener
that writes to anOutputStream
.Fields in hudson.model declared as TaskListener Modifier and Type Field Description static TaskListener
TaskListener. NULL
TaskListener
that discards the output.Methods in hudson.model with parameters of type TaskListener Modifier and Type Method Description EnvVars
Computer. buildEnvironment(TaskListener listener)
Creates an environment variable override to be used for launching processes on this node.void
EnvironmentContributor. buildEnvironmentFor(Job j, EnvVars envs, TaskListener listener)
Contributes environment variables used for a job.void
EnvironmentContributor. buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener)
Contributes environment variables used for a build.abstract Launcher
Node. createLauncher(TaskListener listener)
Returns aLauncher
for executing programs on this node.Launcher
Slave. createLauncher(TaskListener listener)
Creates a launcher for the agent.protected abstract void
AsyncAperiodicWork. execute(TaskListener listener)
Executes the task.protected abstract void
AsyncPeriodicWork. execute(TaskListener listener)
Executes the task.void
FingerprintCleanupThread. execute(TaskListener listener)
Initiates the cleanup of fingerprints IF enabled.protected void
WorkspaceCleanupThread. execute(TaskListener listener)
JDK
JDK. forNode(Node node, TaskListener log)
EnvVars
AbstractBuild. getEnvironment(TaskListener log)
EnvVars
AbstractProject. getEnvironment(Node node, TaskListener listener)
EnvVars
Job. getEnvironment(Node node, TaskListener listener)
Creates an environment variable override for launching processes for this project.EnvVars
Run. getEnvironment(TaskListener listener)
Returns the map that contains environmental variables to be used for launching processes for this build.void
Computer.DisplayExecutor.InternalComputerListener. onOnline(Computer c, TaskListener listener)
void
Node.InternalComputerListener. onOnline(Computer c, TaskListener listener)
protected abstract void
TaskThread. perform(TaskListener listener)
Do the actual work.PollingResult
AbstractProject. poll(TaskListener listener)
Checks if there's any update in SCM, and returns true if any is found.PollingResult
SCMedItem. poll(TaskListener listener)
Deprecated.Checks if there's any update in SCM, and returns true if any is found.boolean
AbstractProject. pollSCMChanges(TaskListener listener)
Deprecated.as of 1.346 UseAbstractProject.poll(TaskListener)
instead.boolean
SCMedItem. pollSCMChanges(TaskListener listener)
Deprecated.as of 1.346 UseSCMedItem.poll(TaskListener)
instead.void
Cause. print(TaskListener listener)
Report a line to the listener about this cause.void
Cause.UpstreamCause. print(TaskListener listener)
void
Cause.UserIdCause. print(TaskListener listener)
void
Executor. recordCauseOfInterruption(Run<?,?> build, TaskListener listener)
report cause of interruption and record it to the build, if available.boolean
DependencyGraph.Dependency. shouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions)
Decide whether build should be triggered and provide any Actions for the build.void
Run. updateSymlinks(TaskListener listener)
Deprecated.After JENKINS-37862 this no longer does anything.Constructors in hudson.model with parameters of type TaskListener Constructor Description ListenerAndText(TaskListener listener, AnnotatedLargeText<TaskAction> text)
-
Uses of TaskListener in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type TaskListener Modifier and Type Method Description static void
SCMPollListener. fireBeforePolling(AbstractProject<?,?> project, TaskListener listener)
static void
RunListener. fireCompleted(Run r, TaskListener listener)
Fires theRunListener.onCompleted(Run, TaskListener)
event.static void
SCMPollListener. firePollingFailed(AbstractProject<?,?> project, TaskListener listener, Throwable exception)
static void
SCMPollListener. firePollingSuccess(AbstractProject<?,?> project, TaskListener listener, PollingResult result)
static void
RunListener. fireStarted(Run r, TaskListener listener)
Fires theRunListener.onStarted(Run, TaskListener)
event.void
SCMPollListener. onBeforePolling(AbstractProject<?,?> project, TaskListener listener)
Called before the polling execution.void
SCMListener. onChangeLogParsed(Run<?,?> build, SCM scm, TaskListener listener, ChangeLogSet<?> changelog)
Called once the changelog is determined.void
SCMListener. onCheckout(Run<?,?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline)
Should be called immediately afterSCM.checkout(Run, Launcher, FilePath, TaskListener, File, SCMRevisionState)
is called.void
RunListener. onCompleted(R r, TaskListener listener)
Called after a build is completed.void
SCMPollListener. onPollingFailed(AbstractProject<?,?> project, TaskListener listener, Throwable exception)
Called when the polling concluded with an error.void
SCMPollListener. onPollingSuccess(AbstractProject<?,?> project, TaskListener listener, PollingResult result)
Called when the polling successfully concluded.void
RunListener. onStarted(R r, TaskListener listener)
Called when a build is started (i.e. -
Uses of TaskListener in hudson.model.queue
Methods in hudson.model.queue with parameters of type TaskListener Modifier and Type Method Description void
CauseOfBlockage.BecauseLabelIsBusy. print(TaskListener listener)
void
CauseOfBlockage.BecauseLabelIsOffline. print(TaskListener listener)
void
CauseOfBlockage.BecauseNodeIsBusy. print(TaskListener listener)
void
CauseOfBlockage.BecauseNodeIsNotAcceptingTasks. print(TaskListener listener)
void
CauseOfBlockage.BecauseNodeIsOffline. print(TaskListener listener)
void
CauseOfBlockage. print(TaskListener listener)
Report a line to the listener about this cause. -
Uses of TaskListener in hudson.node_monitors
Methods in hudson.node_monitors with parameters of type TaskListener Modifier and Type Method Description void
NodeMonitorUpdater. onOnline(Computer c, TaskListener listener)
Triggers the update with 5 seconds quiet period, to avoid triggering data check too often when multiple agents become online at about the same time. -
Uses of TaskListener in hudson.os
Methods in hudson.os with parameters of type TaskListener Modifier and Type Method Description static <V,T extends Throwable>
VSU. execute(TaskListener listener, String rootUsername, String rootPassword, hudson.remoting.Callable<V,T> closure)
Starts a new privilege-escalated environment, execute a closure, and shut it down.static hudson.remoting.VirtualChannel
SU. start(TaskListener listener, String rootUsername, String rootPassword)
Returns aVirtualChannel
that's connected to the privilege-escalated environment. -
Uses of TaskListener in hudson.scm
Methods in hudson.scm with parameters of type TaskListener Modifier and Type Method Description SCMRevisionState
SCM. _calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
NullSCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
SCMRevisionState
SCM. calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
SCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Calculates theSCMRevisionState
that represents the state of the workspace of the given build.void
NullSCM. checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline)
void
SCM. 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.PollingResult
NullSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
protected PollingResult
SCM. compareRemoteRevisionWith(AbstractProject<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
Deprecated.PollingResult
SCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
Compares the current state of the remote repository against the given baselineSCMRevisionState
.protected void
SCM. createEmptyChangeLog(File changelogFile, TaskListener listener, String rootTag)
PollingResult
SCM. 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.boolean
SCM. 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.void
SCM. 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 TaskListener in hudson.slaves
Methods in hudson.slaves that return TaskListener Modifier and Type Method Description TaskListener
SlaveComputer. getListener()
Offers a way to write to the log file for this agent.Methods in hudson.slaves with parameters of type TaskListener Modifier and Type Method Description protected abstract void
AbstractCloudSlave. _terminate(TaskListener listener)
Performs the removal of the underlying resource from the cloud.void
ComputerLauncher. afterDisconnect(SlaveComputer computer, TaskListener listener)
Allows theComputerLauncher
to tidy-up after a disconnect.void
ComputerLauncherFilter. afterDisconnect(SlaveComputer computer, TaskListener listener)
void
DelegatingComputerLauncher. afterDisconnect(SlaveComputer computer, TaskListener listener)
void
ComputerLauncher. beforeDisconnect(SlaveComputer computer, TaskListener listener)
Allows theComputerLauncher
to prepare for a disconnect.void
ComputerLauncherFilter. beforeDisconnect(SlaveComputer computer, TaskListener listener)
void
DelegatingComputerLauncher. beforeDisconnect(SlaveComputer computer, TaskListener listener)
void
EnvironmentVariablesNodeProperty. buildEnvVars(EnvVars env, TaskListener listener)
void
NodeProperty. buildEnvVars(EnvVars env, TaskListener listener)
Creates environment variable override for launching child processes in this node.protected void
ConnectionActivityMonitor. execute(TaskListener listener)
T
NodeSpecific. forNode(Node node, TaskListener log)
Returns a specialized copy of T for functioning in the given node.abstract ComputerLauncher
ComputerConnector. launch(String host, TaskListener listener)
Creates aComputerLauncher
for connecting to the given host.void
ComputerLauncher. launch(SlaveComputer computer, TaskListener listener)
Launches the agent for the givenComputer
.void
ComputerLauncherFilter. launch(SlaveComputer computer, TaskListener listener)
void
DelegatingComputerLauncher. launch(SlaveComputer computer, TaskListener listener)
void
JNLPLauncher. launch(SlaveComputer computer, TaskListener listener)
static hudson.remoting.Channel
Channels. newJVM(String displayName, TaskListener listener, FilePath workDir, ClasspathBuilder classpath, Map<String,String> systemProperties)
Deprecated.removed without replacementstatic hudson.remoting.Channel
Channels. newJVM(String displayName, TaskListener listener, JVMBuilder vmb, FilePath workDir, ClasspathBuilder classpath)
Deprecated.removed without replacementvoid
ComputerListener. onLaunchFailure(Computer c, TaskListener taskListener)
Called when an agent attempted to connect viaComputerLauncher
but it failed.void
ComputerListener. onOnline(Computer c, TaskListener listener)
Called right after aComputer
comes online.void
ComputerListener. preLaunch(Computer c, TaskListener taskListener)
Called before aComputerLauncher
is asked to launch a connection withComputer
.void
ChannelPinger. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
void
ComputerListener. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
Called before aComputer
is marked online.void
SlaveComputer. setChannel(InputStream in, OutputStream out, TaskListener taskListener, hudson.remoting.Channel.Listener listener)
Creates aChannel
from the given stream and sets that to this agent. -
Uses of TaskListener in hudson.tasks
Methods in hudson.tasks with parameters of type TaskListener Modifier and Type Method Description Maven.MavenInstallation
Maven.MavenInstallation. forNode(Node node, TaskListener log)
void
ArtifactArchiver. perform(Run<?,?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener)
boolean
CommandInterpreter. perform(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
void
Fingerprinter. perform(Run<?,?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener)
-
Uses of TaskListener in hudson.tools
Methods in hudson.tools with parameters of type TaskListener Modifier and Type Method Description String
InstallerTranslator. getToolHome(Node node, ToolInstallation tool, TaskListener log)
static String
ToolLocationNodeProperty. getToolHome(Node node, ToolInstallation installation, TaskListener log)
Deprecated.since 2009-04-09.abstract String
ToolLocationTranslator. getToolHome(Node node, ToolInstallation installation, TaskListener log)
Called for eachToolInstallation.translateFor(Node, TaskListener)
invocations (which normally means it's invoked for eachNodeSpecific.forNode(Node, TaskListener)
) to translate the tool location into the node specific location.FilePath
AbstractCommandInstaller. performInstallation(ToolInstallation tool, Node node, TaskListener log)
FilePath
DownloadFromUrlInstaller. performInstallation(ToolInstallation tool, Node node, TaskListener log)
abstract FilePath
ToolInstaller. performInstallation(ToolInstallation tool, Node node, TaskListener log)
Ensure that the configured tool is really installed.FilePath
ZipExtractionInstaller. performInstallation(ToolInstallation tool, Node node, TaskListener log)
ToolInstallation
ToolInstallation. translate(AbstractBuild<?,?> buildInProgress, TaskListener listener)
Convenient version ofToolInstallation.translate(Node, EnvVars, TaskListener)
that just takes a build object in progress.ToolInstallation
ToolInstallation. translate(Node node, EnvVars envs, TaskListener listener)
Performs a necessary variable/environment/context expansion.protected String
ToolInstallation. translateFor(Node node, TaskListener log)
Finds a tool on a node. -
Uses of TaskListener in hudson.util
Classes in hudson.util that implement TaskListener Modifier and Type Class Description class
AbstractTaskListener
Deprecated.implementTaskListener
directlyclass
LogTaskListener
TaskListener
which sends messages to aLogger
.class
StreamTaskListener
TaskListener
that generates output into a single stream.Methods in hudson.util with parameters of type TaskListener Modifier and Type Method Description int
SecretRewriter. rewriteRecursive(File dir, TaskListener listener)
Recursively scans and rewrites a directory. -
Uses of TaskListener in jenkins
Methods in jenkins with parameters of type TaskListener Modifier and Type Method Description protected void
DailyCheck. execute(TaskListener listener)
-
Uses of TaskListener in jenkins.fingerprints
Methods in jenkins.fingerprints with parameters of type TaskListener Modifier and Type Method Description boolean
FingerprintStorage. cleanFingerprint(Fingerprint fingerprint, TaskListener taskListener)
This method performs the cleanup of the given fingerprint.void
FileFingerprintStorage. iterateAndCleanupFingerprints(TaskListener taskListener)
Perform Fingerprint cleanup.abstract void
FingerprintStorage. iterateAndCleanupFingerprints(TaskListener taskListener)
Iterates a set of fingerprints, and cleans them up. -
Uses of TaskListener in jenkins.management
Methods in jenkins.management with parameters of type TaskListener Modifier and Type Method Description protected abstract void
AsynchronousAdministrativeMonitor. fix(TaskListener listener)
Run on a separate thread in the background to fix up stuff. -
Uses of TaskListener in jenkins.model
Methods in jenkins.model with parameters of type TaskListener Modifier and Type Method Description void
CoreEnvironmentContributor. buildEnvironmentFor(Job j, EnvVars env, TaskListener listener)
void
CoreEnvironmentContributor. buildEnvironmentFor(Run r, EnvVars env, TaskListener listener)
Launcher
Jenkins. createLauncher(TaskListener listener)
protected void
BackgroundGlobalBuildDiscarder. execute(TaskListener listener)
void
PeepholePermalink.RunListenerImpl. onCompleted(Run<?,?> run, TaskListener listener)
See if the new build matches any of the peephole permalink.void
CauseOfInterruption. print(TaskListener listener)
Report a line to the listener about this cause.void
CauseOfInterruption.UserInterruption. print(TaskListener listener)
static void
BackgroundGlobalBuildDiscarder. processJob(TaskListener listener, Job job)
-
Uses of TaskListener in jenkins.model.queue
Methods in jenkins.model.queue with parameters of type TaskListener Modifier and Type Method Description void
CompositeCauseOfBlockage. print(TaskListener listener)
-
Uses of TaskListener in jenkins.mvn
Methods in jenkins.mvn with parameters of type TaskListener Modifier and Type Method Description static FilePath
GlobalSettingsProvider. getSettingsFilePath(GlobalSettingsProvider settings, AbstractBuild<?,?> build, TaskListener listener)
Convenience method handling allnull
checks.static FilePath
SettingsProvider. getSettingsFilePath(SettingsProvider settings, AbstractBuild<?,?> build, TaskListener listener)
Convenience method handling allnull
checks.static String
GlobalSettingsProvider. getSettingsRemotePath(GlobalSettingsProvider provider, AbstractBuild<?,?> build, TaskListener listener)
Convenience method handling allnull
checks.static String
SettingsProvider. getSettingsRemotePath(SettingsProvider settings, AbstractBuild<?,?> build, TaskListener listener)
Convenience method handling allnull
checks.FilePath
DefaultGlobalSettingsProvider. supplySettings(AbstractBuild<?,?> project, TaskListener listener)
FilePath
DefaultSettingsProvider. supplySettings(AbstractBuild<?,?> project, TaskListener listener)
FilePath
FilePathGlobalSettingsProvider. supplySettings(AbstractBuild<?,?> build, TaskListener listener)
FilePath
FilePathSettingsProvider. supplySettings(AbstractBuild<?,?> build, TaskListener listener)
abstract FilePath
GlobalSettingsProvider. supplySettings(AbstractBuild<?,?> build, TaskListener listener)
configure maven launcher argument list with adequate settings pathabstract FilePath
SettingsProvider. supplySettings(AbstractBuild<?,?> build, TaskListener listener)
Configure maven launcher argument list with adequate settings path. -
Uses of TaskListener in jenkins.security
Methods in jenkins.security with parameters of type TaskListener Modifier and Type Method Description protected void
RekeySecretAdminMonitor. fix(TaskListener listener)
-
Uses of TaskListener in jenkins.slaves
Methods in jenkins.slaves with parameters of type TaskListener Modifier and Type Method Description void
StandardOutputSwapper. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
-
Uses of TaskListener in jenkins.slaves.restarter
Methods in jenkins.slaves.restarter with parameters of type TaskListener Modifier and Type Method Description void
JnlpSlaveRestarterInstaller. onOnline(Computer c, TaskListener listener)
-
Uses of TaskListener in jenkins.tasks
Methods in jenkins.tasks with parameters of type TaskListener Modifier and Type Method Description default void
SimpleBuildStep. perform(Run<?,?> run, EnvVars env, TaskListener listener)
Run this step, without a workspace context.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)
Run this step.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Deprecated.void
SimpleBuildWrapper. 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.void
SimpleBuildWrapper. setUp(SimpleBuildWrapper.Context context, Run<?,?> build, TaskListener listener, EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper.void
SimpleBuildWrapper.Disposer. tearDown(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Attempt to clean up anything that was done in the initial setup.void
SimpleBuildWrapper.Disposer. tearDown(Run<?,?> build, TaskListener listener)
Attempt to clean up anything that was done in the initial setup. -
Uses of TaskListener in jenkins.tasks.filters
Methods in jenkins.tasks.filters that return TaskListener Modifier and Type Method Description TaskListener
EnvVarsFilterRuleContext. getTaskListener()
Methods in jenkins.tasks.filters with parameters of type TaskListener Modifier and Type Method Description void
EnvVarsFilterRuleWrapper. filter(EnvVars envVars, Launcher launcher, TaskListener listener)
Constructors in jenkins.tasks.filters with parameters of type TaskListener Constructor Description EnvVarsFilterRuleContext(Launcher launcher, TaskListener taskListener)
-
Uses of TaskListener in jenkins.telemetry
Methods in jenkins.telemetry with parameters of type TaskListener Modifier and Type Method Description protected void
Telemetry.TelemetryReporter. execute(TaskListener listener)
-
Uses of TaskListener in jenkins.triggers
Methods in jenkins.triggers with parameters of type TaskListener Modifier and Type Method Description void
ReverseBuildTrigger.RunListenerImpl. onCompleted(Run r, TaskListener listener)
PollingResult
SCMTriggerItem. poll(TaskListener listener)
Checks if there is any update in SCM. -
Uses of TaskListener in jenkins.util
Classes in jenkins.util that implement TaskListener Modifier and Type Class Description class
BuildListenerAdapter
Wraps aTaskListener
as aBuildListener
for compatibility with APIs which historically expected the latter.Methods in jenkins.util with parameters of type TaskListener Modifier and Type Method Description void
SystemProperties.AgentCopier. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
static BuildListener
BuildListenerAdapter. wrap(TaskListener l)
Constructors in jenkins.util with parameters of type TaskListener Constructor Description BuildListenerAdapter(TaskListener delegate)
-