Uses of Class
hudson.model.AbstractBuild
Package
Description
Server-side CLI commands for Hudson.
Beef up the plain text console output by adding HTML markup.
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.
Built-in
Trigger
s that run periodically to kick a new build.Other miscellaneous utility code
-
Uses of AbstractBuild in hudson
Modifier and TypeMethodDescriptionvoid
FileSystemProvisioner.Default.prepareWorkspace
(AbstractBuild<?, ?> build, FilePath ws, TaskListener listener) abstract void
FileSystemProvisioner.prepareWorkspace
(AbstractBuild<?, ?> build, FilePath ws, TaskListener listener) Deprecated.abstract void
WorkspaceSnapshot.restoreTo
(AbstractBuild<?, ?> owner, FilePath dst, TaskListener listener) Deprecated.Restores the snapshot to the given file system location.FileSystemProvisioner.Default.snapshot
(AbstractBuild<?, ?> build, FilePath ws, String glob, TaskListener listener) abstract WorkspaceSnapshot
FileSystemProvisioner.snapshot
(AbstractBuild<?, ?> build, FilePath ws, String glob, TaskListener listener) Deprecated. -
Uses of AbstractBuild in hudson.cli
Modifier and TypeMethodDescriptionprotected abstract int
AbstractBuildRangeCommand.act
(List<AbstractBuild<?, ?>> builds) Deprecated. -
Uses of AbstractBuild in hudson.console
Modifier and TypeMethodDescriptionConsoleLogFilter.decorateLogger
(AbstractBuild build, OutputStream logger) Deprecated.as of 1.632. -
Uses of AbstractBuild in hudson.model
Modifier and TypeClassDescriptionclass
AbstractBuild<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofRun
s that build software.class
AbstractProject<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofJob
s that build software.Modifier and TypeFieldDescriptionfinal AbstractBuild
AbstractBuild.DependencyChange.from
Build
object forAbstractBuild.DependencyChange.fromId
.final AbstractBuild
AbstractBuild.DependencyChange.to
Modifier and TypeMethodDescriptionAbstractBuild<?,
?> AbstractBuild.getRootBuild()
Gets the nearest ancestorAbstractBuild
that belongs to the root project of getProject() that dominates/governs/encompasses this build.AbstractBuild<?,
?> AbstractBuild.getUpstreamRelationshipBuild
(AbstractProject<?, ?> that) Works likegetUpstreamRelationship(AbstractProject)
but returns the actual build object.Modifier and TypeMethodDescriptionAbstractBuild.DependencyChange.getBuilds()
Gets theAbstractBuild
objects (fromId,toId].Iterable<AbstractBuild<?,
?>> AbstractBuild.getDownstreamBuilds
(AbstractProject<?, ?> that) Works likegetDownstreamRelationship(AbstractProject)
but returns the actual build objects, in ascending order.Modifier and TypeMethodDescriptionvoid
Fingerprint.add
(AbstractBuild b) Deprecated.void
WorkspaceListener.beforeUse
(AbstractBuild b, FilePath workspace, BuildListener listener) Called before a build uses a workspace.default void
EnvironmentContributingAction.buildEnvVars
(AbstractBuild<?, ?> build, EnvVars env) Deprecated.void
ParameterValue.buildEnvVars
(AbstractBuild<?, ?> build, EnvVars env) Deprecated.UseParameterValue.buildEnvironment(Run, EnvVars)
instead.void
ParameterValue.buildEnvVars
(AbstractBuild<?, ?> build, Map<String, String> env) Deprecated.as of 1.344 UseParameterValue.buildEnvironment(Run, EnvVars)
instead.abstract void
BuildVariableContributor.buildVariablesFor
(AbstractBuild build, Map<String, String> variables) Contributes build variables used for a build.boolean
AbstractProject.checkout
(AbstractBuild build, Launcher launcher, BuildListener listener, File changelogFile) FileParameterValue.createBuildWrapper
(AbstractBuild<?, ?> build) ParameterValue.createBuildWrapper
(AbstractBuild<?, ?> build) Called at the beginning of a build (but afterSCM
operations have taken place) to let aParameterValue
contributes aBuildWrapper
to the build.void
ParametersAction.createBuildWrappers
(AbstractBuild<?, ?> build, Collection<? super BuildWrapper> result) Collection<? extends Action>
TransientBuildActionFactory.createFor
(AbstractBuild target) Deprecated.as of 1.461 Override and callTransientBuildActionFactory.createFor(Run)
instead.BooleanParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) FileParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) ParametersAction.createVariableResolver
(AbstractBuild<?, ?> build) Creates anVariableResolver
that aggregates all the parameters.ParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) Returns aVariableResolver
so that other components likeBuilder
s can perform variable substitution to reflect parameter values into the build process.PasswordParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) StringParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) abstract void
BuildStepListener.finished
(AbstractBuild build, BuildStep bs, BuildListener listener, boolean canContinue) Called when a buildStep has completed.AbstractBuild.getDependencyChanges
(AbstractBuild from) Gets the changes in the dependency between the given build and this build.FingerprintMap.getOrCreate
(AbstractBuild build, String fileName, byte[] md5sum) FingerprintMap.getOrCreate
(AbstractBuild build, String fileName, String md5sum) static ResultTrend
ResultTrend.getResultTrend
(AbstractBuild<?, ?> build) Returns the result trend of a build.void
Cause.onAddedTo
(AbstractBuild build) Deprecated.void
Cause.onLoad
(AbstractBuild<?, ?> build) Deprecated.boolean
JobProperty.perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Runs the step over the given build and reports the progress to the listener.boolean
JobProperty.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) boolean
DependencyGraph.Dependency.shouldTriggerBuild
(AbstractBuild build, TaskListener listener, List<Action> actions) Decide whether build should be triggered and provide any Actions for the build.abstract void
BuildStepListener.started
(AbstractBuild build, BuildStep bs, BuildListener listener) Called when a buildStep is performed.ParametersAction.substitute
(AbstractBuild<?, ?> build, String text) Performs a variable substitution to the given text and return it.boolean
Environment.tearDown
(AbstractBuild build, BuildListener listener) Runs after theBuilder
completes, and performs a tear down.ModifierConstructorDescriptionBecauseOfBuildInProgress
(AbstractBuild<?, ?> build) Deprecated.UpstreamCause
(AbstractBuild<?, ?> up) Deprecated.since 2009-02-28 -
Uses of AbstractBuild 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 AbstractBuild in hudson.scm
Modifier and TypeFieldDescriptionprotected AbstractBuild
AbstractScmTagAction.build
Deprecated.final AbstractBuild<?,
?> ChangeLogSet.build
Deprecated.Modifier and TypeMethodDescriptionSCM._calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.void
ChangeLogAnnotator.annotate
(AbstractBuild<?, ?> build, ChangeLogSet.Entry change, MarkupText text) Deprecated.void
SCM.buildEnvVars
(AbstractBuild<?, ?> build, Map<String, String> env) Deprecated.in favor ofSCM.buildEnvironment(Run, Map)
.SCM.calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.boolean
SCM.checkout
(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) Deprecated.static ChangeLogSet<? extends ChangeLogSet.Entry>
ChangeLogSet.createEmpty
(AbstractBuild build) Deprecated.SCM.getModuleRoot
(FilePath workspace, AbstractBuild build) Gets the top directory of the checked out module.FilePath[]
SCM.getModuleRoots
(FilePath workspace, AbstractBuild build) Gets the top directories of all the checked out modules.ChangeLogSet<? extends ChangeLogSet.Entry>
ChangeLogParser.parse
(AbstractBuild build, File changelogFile) Deprecated.void
SCM.postCheckout
(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener) Deprecated.ModifierConstructorDescriptionprotected
Deprecated.protected
ChangeLogSet
(AbstractBuild<?, ?> build) Deprecated. -
Uses of AbstractBuild 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 AbstractBuild 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.BuildWrapper.decorateLogger
(AbstractBuild build, OutputStream logger) Provides an opportunity for aBuildWrapper
to decorate theBuildListener
logger to be used by 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)
void
BuildWrapper.makeBuildVariables
(AbstractBuild build, Map<String, String> variables) Called to define getBuildVariables().void
BuildWrapper.makeSensitiveBuildVariables
(AbstractBuild build, Set<String> sensitiveVariables) Called to define sensitive build variables.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.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
CommandInterpreter.perform
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) boolean
Maven.perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) boolean
BuildStep.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) Runs before the build begins.boolean
BuildStepCompatibilityLayer.prebuild
(AbstractBuild<?, ?> build, BuildListener listener) Deprecated.void
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.boolean
BuildWrapper.Environment.tearDown
(AbstractBuild build, BuildListener listener) Runs after theBuilder
completes, and performs a tear down.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.ModifierConstructorDescriptionFingerprintAction
(AbstractBuild build, Map<String, String> record) Deprecated. -
Uses of AbstractBuild in hudson.tools
Modifier and TypeMethodDescriptionToolInstallation.translate
(AbstractBuild<?, ?> buildInProgress, TaskListener listener) Convenient version ofToolInstallation.translate(Node, EnvVars, TaskListener)
that just takes a build object in progress. -
Uses of AbstractBuild in hudson.triggers
-
Uses of AbstractBuild in hudson.util
Modifier and TypeFieldDescriptionfinal AbstractBuild
ChartUtil.NumberOnlyBuildLabel.build
Deprecated. -
Uses of AbstractBuild in jenkins.mvn
Modifier and TypeMethodDescriptionstatic 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.DefaultGlobalSettingsProvider.supplySettings
(AbstractBuild<?, ?> project, TaskListener listener) DefaultSettingsProvider.supplySettings
(AbstractBuild<?, ?> project, TaskListener listener) FilePathGlobalSettingsProvider.supplySettings
(AbstractBuild<?, ?> build, TaskListener listener) 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 AbstractBuild in jenkins.scm
Modifier and TypeMethodDescriptionvoid
SCMCheckoutStrategy.preCheckout
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Performs the pre checkout step. -
Uses of AbstractBuild 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 OutputStream
SimpleBuildWrapper.decorateLogger
(AbstractBuild build, OutputStream logger) void
SimpleBuildWrapper.makeBuildVariables
(AbstractBuild build, Map<String, String> variables) May be overridden but this will only take effect when used as aBuildWrapper
on anAbstractProject
.void
SimpleBuildWrapper.makeSensitiveBuildVariables
(AbstractBuild build, Set<String> sensitiveVariables) 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)