Uses of Class
hudson.model.AbstractBuild
-
Packages that use AbstractBuild Package Description hudson hudson.cli Server-side CLI commands for Hudson.hudson.console Beef up the plain text console output by adding HTML markup.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 hudson.tools hudson.triggers Built-inTrigger
s that run periodically to kick a new build.hudson.util Other miscellaneous utility codejenkins.mvn jenkins.scm jenkins.tasks -
-
Uses of AbstractBuild in hudson
Methods in hudson with parameters of type AbstractBuild Modifier and Type Method Description void
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.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. -
Uses of AbstractBuild in hudson.cli
Method parameters in hudson.cli with type arguments of type AbstractBuild Modifier and Type Method Description protected abstract int
AbstractBuildRangeCommand. act(List<AbstractBuild<?,?>> builds)
Deprecated. -
Uses of AbstractBuild in hudson.console
Methods in hudson.console with parameters of type AbstractBuild Modifier and Type Method Description OutputStream
ConsoleLogFilter. decorateLogger(AbstractBuild build, OutputStream logger)
Deprecated.as of 1.632. -
Uses of AbstractBuild in hudson.model
Classes in hudson.model with type parameters of type AbstractBuild Modifier and Type Class Description class
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.Subclasses of AbstractBuild in hudson.model Modifier and Type Class Description class
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of aProject
.class
FreeStyleBuild
Fields in hudson.model declared as AbstractBuild Modifier and Type Field Description AbstractBuild
AbstractBuild.DependencyChange. from
Build
object forAbstractBuild.DependencyChange.fromId
.AbstractBuild
AbstractBuild.DependencyChange. to
Methods in hudson.model that return AbstractBuild Modifier and Type Method Description AbstractBuild<?,?>
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.Methods in hudson.model that return types with arguments of type AbstractBuild Modifier and Type Method Description List<AbstractBuild>
AbstractBuild.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.Methods in hudson.model with parameters of type AbstractBuild Modifier and Type Method Description void
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)
BuildWrapper
FileParameterValue. createBuildWrapper(AbstractBuild<?,?> build)
BuildWrapper
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.VariableResolver<String>
BooleanParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
FileParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
ParametersAction. createVariableResolver(AbstractBuild<?,?> build)
Creates anVariableResolver
that aggregates all the parameters.VariableResolver<String>
ParameterValue. createVariableResolver(AbstractBuild<?,?> build)
Returns aVariableResolver
so that other components likeBuilder
s can perform variable substitution to reflect parameter values into the build process.VariableResolver<String>
PasswordParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
StringParameterValue. createVariableResolver(AbstractBuild<?,?> build)
abstract void
BuildStepListener. finished(AbstractBuild build, BuildStep bs, BuildListener listener, boolean canContinue)
Called when a buildStep has completed.Map<AbstractProject,AbstractBuild.DependencyChange>
AbstractBuild. getDependencyChanges(AbstractBuild from)
Gets the changes in the dependency between the given build and this build.Fingerprint
FingerprintMap. getOrCreate(AbstractBuild build, String fileName, byte[] md5sum)
Fingerprint
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.String
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.Constructors in hudson.model with parameters of type AbstractBuild Constructor Description BecauseOfBuildInProgress(AbstractBuild<?,?> build)
Deprecated.UpstreamCause(AbstractBuild<?,?> up)
Deprecated.since 2009-02-28 -
Uses of AbstractBuild in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type AbstractBuild 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 AbstractBuild in hudson.scm
Fields in hudson.scm declared as AbstractBuild Modifier and Type Field Description protected AbstractBuild
AbstractScmTagAction. build
Deprecated.AbstractBuild<?,?>
ChangeLogSet. build
Deprecated.Methods in hudson.scm that return AbstractBuild Modifier and Type Method Description AbstractBuild
AbstractScmTagAction. getBuild()
Deprecated.Methods in hudson.scm with parameters of type AbstractBuild Modifier and Type Method Description SCMRevisionState
SCM. _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)
.SCMRevisionState
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.FilePath
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.Constructors in hudson.scm with parameters of type AbstractBuild Constructor Description AbstractScmTagAction(AbstractBuild build)
Deprecated.ChangeLogSet(AbstractBuild<?,?> build)
Deprecated. -
Uses of AbstractBuild in hudson.slaves
Methods in hudson.slaves with parameters of type AbstractBuild 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 AbstractBuild in hudson.tasks
Methods in hudson.tasks that return AbstractBuild Modifier and Type Method Description AbstractBuild
Fingerprinter.FingerprintAction. getBuild()
Deprecated.Methods in hudson.tasks with parameters of type AbstractBuild 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.OutputStream
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.Environment
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.Constructors in hudson.tasks with parameters of type AbstractBuild Constructor Description FingerprintAction(AbstractBuild build, Map<String,String> record)
Deprecated. -
Uses of AbstractBuild in hudson.tools
Methods in hudson.tools with parameters of type AbstractBuild Modifier and Type Method Description ToolInstallation
ToolInstallation. 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
Fields in hudson.triggers declared as AbstractBuild Modifier and Type Field Description AbstractBuild
SCMTrigger.BuildAction. build
Deprecated.Constructors in hudson.triggers with parameters of type AbstractBuild Constructor Description BuildAction(AbstractBuild build)
Deprecated. -
Uses of AbstractBuild in hudson.util
Fields in hudson.util declared as AbstractBuild Modifier and Type Field Description AbstractBuild
ChartUtil.NumberOnlyBuildLabel. build
Deprecated.Constructors in hudson.util with parameters of type AbstractBuild Constructor Description NumberOnlyBuildLabel(AbstractBuild build)
Deprecated. -
Uses of AbstractBuild in jenkins.mvn
Methods in jenkins.mvn with parameters of type AbstractBuild 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 AbstractBuild in jenkins.scm
Methods in jenkins.scm with parameters of type AbstractBuild Modifier and Type Method Description void
SCMCheckoutStrategy. preCheckout(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
Performs the pre checkout step. -
Uses of AbstractBuild in jenkins.tasks
Methods in jenkins.tasks with parameters of type AbstractBuild 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
.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
.void
SimpleBuildWrapper. preCheckout(AbstractBuild build, Launcher launcher, BuildListener listener)
BuildWrapper.Environment
SimpleBuildWrapper. setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-