hudson.matrix
Class MatrixBuild
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Run<P,R>
hudson.model.AbstractBuild<MatrixProject,MatrixBuild>
hudson.matrix.MatrixBuild
- All Implemented Interfaces:
- ExtensionPoint, DescriptorByNameOwner, ModelObject, PersistenceRoot, Queue.Executable, Saveable, SearchableModelObject, SearchItem, AccessControlled, Comparable<MatrixBuild>, Runnable
public class MatrixBuild
- extends AbstractBuild<MatrixProject,MatrixBuild>
Build of MatrixProject.
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class hudson.model.Run |
ARTIFACTS, DELETE, FEED_ADAPTER, FEED_ADAPTER_LATEST, LIST_CUTOFF, number, ORDER_BY_DATE, PERMISSIONS, TREE_CUTOFF, UPDATE, XSTREAM |
| Methods inherited from class hudson.model.AbstractBuild |
delete, doStop, due, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getEnvironment, getHudsonVersion, getModuleRoot, getModuleRoots, getProject, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant |
| Methods inherited from class hudson.model.Run |
addAction, checkPermission, compareTo, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getFullName, getHasArtifacts, getIconColor, getId, getIDFormatter, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNextBuild, getNumber, getParent, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getResult, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTruncatedDescription, getUrl, hasCustomDisplayName, hasntStartedYet, hasPermission, isBuilding, isKeepLog, isLogUpdated, keepLog, keepLog, save, setDescription, setDisplayName, setResult, toString, writeLogTo |
MatrixBuild
public MatrixBuild(MatrixProject job)
throws IOException
- Throws:
IOException
MatrixBuild
public MatrixBuild(MatrixProject job,
Calendar timestamp)
MatrixBuild
public MatrixBuild(MatrixProject project,
File buildDir)
throws IOException
- Throws:
IOException
readResolve
public Object readResolve()
getLayouter
public Layouter<MatrixBuild.RunPtr> getLayouter()
getRun
public MatrixRun getRun(Combination c)
- Gets the
MatrixRun in this build that corresponds to the given
combination.
getRuns
public List<MatrixRun> getRuns()
- Returns all
MatrixRuns for this MatrixBuild.
getDynamic
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
- Overrides:
getDynamic in class Run<MatrixProject,MatrixBuild>
run
public void run()
- Description copied from class:
AbstractBuild
- Invoked by
Executor to performs a build.
- Specified by:
run in interface Queue.Executable- Specified by:
run in interface Runnable- Specified by:
run in class AbstractBuild<MatrixProject,MatrixBuild>
getDownstreamRelationship
public Fingerprint.RangeSet getDownstreamRelationship(AbstractProject that)
- Description copied from class:
AbstractBuild
- Gets the dependency relationship from this build (as the source) and that
project (as the sink.)
- Overrides:
getDownstreamRelationship in class AbstractBuild<MatrixProject,MatrixBuild>
- Returns:
- range of build numbers that represent which downstream builds are
using this build. The range will be empty if no build of that project
matches this, but it'll never be null.
Copyright © 2004-2013 Hudson. All Rights Reserved.