public class MatrixBuild extends hudson.model.AbstractBuild<MatrixProject,MatrixBuild>
MatrixProject
.Modifier and Type | Class and Description |
---|---|
class |
MatrixBuild.MatrixBuildExecution
Object that lives from the start of
MatrixBuild execution to its end. |
class |
MatrixBuild.RunPtr
Used by view to render a ball for
MatrixRun . |
hudson.model.AbstractBuild.AbstractBuildExecution, hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChange
hudson.model.Run.Artifact, hudson.model.Run.ArtifactList, hudson.model.Run.KeepLogBuildBadge, hudson.model.Run.RedirectUp, hudson.model.Run.RunExecution, hudson.model.Run.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.StatusSummarizer, hudson.model.Run.Summary
Constructor and Description |
---|
MatrixBuild(MatrixProject job) |
MatrixBuild(MatrixProject job,
Calendar timestamp) |
MatrixBuild(MatrixProject project,
File buildDir) |
Modifier and Type | Method and Description |
---|---|
void |
doDoDeleteAll(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Deletes the build and all matrix configurations in this build when the button is pressed.
|
MatrixBuild |
getBaseBuild()
Returns the base
MatrixBuild that this build originates from. |
hudson.model.Fingerprint.RangeSet |
getDownstreamRelationship(hudson.model.AbstractProject that) |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
MatrixRun |
getExactRun(Combination c)
Like
getRun(Combination) , but do not approximate the result by earlier execution
of the given combination (which is done for partial rebuild of the matrix.) |
List<MatrixRun> |
getExactRuns()
Returns all
MatrixRun s for exactly this MatrixBuild . |
Layouter<MatrixBuild.RunPtr> |
getLayouter() |
MatrixRun |
getRun(Combination c)
Gets the
MatrixRun in this build that corresponds
to the given combination. |
List<MatrixRun> |
getRuns()
Returns all
MatrixRun s for this MatrixBuild . |
String |
getWhyKeepLog() |
boolean |
isLinkedBy(MatrixBuild b) |
boolean |
isPartial()
True if this build didn't do a full build and it is depending on the result of the previous build.
|
Object |
readResolve() |
void |
run() |
void |
setBaseBuild(MatrixBuild baseBuild)
Sets the base build from which this build is derived.
|
addAction, createReference, doStop, doStop, dropLinks, due, getAggregatedTestResultAction, getBuildFingerprints, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getChangeSets, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getEnvironment, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getNextBuild, getPersistentActions, getPreviousBuild, getProject, getRootBuild, getRunMixIn, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWorkspace, hasChangeSetComputed, hasParticipant, setBuiltOnStr, setWorkspace
_this, canToggleLogKeep, checkPermission, compareTo, delete, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifactManager, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusIconClassName, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNumber, getOneOffExecutor, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getResult, getRootDir, getSearchUrl, getStartTimeInMillis, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTransientActions, getTruncatedDescription, getUrl, hasCustomDisplayName, hasntStartedYet, hasPermission, isBuilding, isInProgress, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, pickArtifactManager, reload, run, save, setDescription, setDisplayName, setResult, submit, toString, updateSymlinks, writeLogTo, writeWholeLogTo
doContextMenu, getAction, getAction, getActions, getActions, getAllActions, replaceAction
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
public MatrixBuild(MatrixProject job) throws IOException
IOException
public MatrixBuild(MatrixProject job, Calendar timestamp)
public MatrixBuild(MatrixProject project, File buildDir) throws IOException
IOException
public Object readResolve()
public void doDoDeleteAll(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public Layouter<MatrixBuild.RunPtr> getLayouter()
public void setBaseBuild(MatrixBuild baseBuild)
public MatrixBuild getBaseBuild()
MatrixBuild
that this build originates from.
If this build is a partial build, unexecuted MatrixRun
s are delegated to this build number.
public MatrixRun getRun(Combination c)
MatrixRun
in this build that corresponds
to the given combination.public MatrixRun getExactRun(Combination c)
getRun(Combination)
, but do not approximate the result by earlier execution
of the given combination (which is done for partial rebuild of the matrix.)@Exported public List<MatrixRun> getRuns()
MatrixRun
s for this MatrixBuild
.public List<MatrixRun> getExactRuns()
MatrixRun
s for exactly this MatrixBuild
.
Unlike getRuns()
, this method excludes those runs
that didn't run and got inherited.
public String getWhyKeepLog()
getWhyKeepLog
in class hudson.model.AbstractBuild<MatrixProject,MatrixBuild>
public boolean isLinkedBy(MatrixBuild b)
MatrixBuild
build (passed as a parameter) depends on this build.public boolean isPartial()
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class hudson.model.Run<MatrixProject,MatrixBuild>
public void run()
run
in interface hudson.model.Queue.Executable
run
in interface Runnable
run
in class hudson.model.AbstractBuild<MatrixProject,MatrixBuild>
public hudson.model.Fingerprint.RangeSet getDownstreamRelationship(hudson.model.AbstractProject that)
getDownstreamRelationship
in class hudson.model.AbstractBuild<MatrixProject,MatrixBuild>
Copyright © 2015. All rights reserved.