public class IvyModuleSetBuild extends AbstractIvyBuild<IvyModuleSet,IvyModuleSetBuild>
Build for IvyModuleSet.
A "build" of IvyModuleSet consists of:
IvyBuilds are done on
this.AbstractIvyBuild.ParameterizedUpstreamCausehudson.model.AbstractBuild.AbstractBuildExecution, hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChangehudson.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| Modifier and Type | Field and Description |
|---|---|
static boolean |
debug
Extra verbose debug switch.
|
| Constructor and Description |
|---|
IvyModuleSetBuild(IvyModuleSet job) |
IvyModuleSetBuild(IvyModuleSet project,
java.io.File buildDir) |
| Modifier and Type | Method and Description |
|---|---|
<T extends hudson.model.Action> |
findModuleBuildActions(java.lang.Class<T> action)
Finds
Actions from all the module builds that belong to this
IvyModuleSetBuild. |
hudson.model.Fingerprint.RangeSet |
getDownstreamRelationship(hudson.model.AbstractProject that) |
java.lang.Object |
getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
hudson.EnvVars |
getEnvironment(hudson.model.TaskListener log)
Exposes
ANT_OPTS to forked processes. |
java.util.Map<IvyModule,java.util.List<IvyBuild>> |
getModuleBuilds()
Computes the module builds that correspond to this build.
|
java.util.Map<IvyModule,IvyBuild> |
getModuleLastBuilds()
Computes the latest module builds that correspond to this build.
|
IvyModuleSet |
getParent() |
hudson.model.Result |
getResult()
Displays the combined status of all modules.
|
void |
registerAsProjectAction(IvyReporter reporter) |
void |
run() |
scheduleDownstreamBuildsaddAction, calculateCulprits, createReference, doStop, doStop, dropLinks, due, getAggregatedTestResultAction, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getChangeSets, getCulpritIds, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getNextBuild, getPersistentActions, getPreviousBuild, getProject, getRootBuild, getRunMixIn, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, setBuiltOnStr, setWorkspace, shouldCalculateCulprits_this, canToggleLogKeep, compareTo, delete, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifactManager, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildFingerprints, getBuildStatusIconClassName, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, 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, getQueueId, getRootDir, getSearchUrl, getStartTimeInMillis, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTransientActions, getTruncatedDescription, getUrl, hasCustomDisplayName, hasntStartedYet, isBuilding, isInProgress, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, pickArtifactManager, reload, run, save, setDescription, setDisplayName, setQueueId, setResult, submit, toString, updateSymlinks, writeLogTo, writeWholeLogToaddOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, removeAction, removeActions, replaceAction, replaceActionsgetSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic IvyModuleSetBuild(IvyModuleSet job) throws java.io.IOException
java.io.IOExceptionpublic IvyModuleSetBuild(IvyModuleSet project, java.io.File buildDir) throws java.io.IOException
java.io.IOExceptionpublic hudson.EnvVars getEnvironment(hudson.model.TaskListener log)
throws java.io.IOException,
java.lang.InterruptedException
ANT_OPTS to forked processes.
When we fork Ant, we do so directly by executing Java, thus this
environment variable is pointless (we have to tweak JVM launch option
correctly instead, which can be seen in IvyProcessFactory), but
setting the environment variable explicitly is still useful in case this
Ant forks other Ant processes via normal way. See HUDSON-3644.getEnvironment in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>java.io.IOExceptionjava.lang.InterruptedExceptionpublic hudson.model.Result getResult()
More precisely, this picks up the status of this build itself, plus all the latest builds of the modules that belongs to this build.
getResult in class hudson.model.Run<IvyModuleSet,IvyModuleSetBuild>public java.util.Map<IvyModule,java.util.List<IvyBuild>> getModuleBuilds()
A module may be built multiple times (by the user action), so the value is a list.
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.model.Run<IvyModuleSet,IvyModuleSetBuild>public java.util.Map<IvyModule,IvyBuild> getModuleLastBuilds()
public void registerAsProjectAction(IvyReporter reporter)
public <T extends hudson.model.Action> java.util.List<T> findModuleBuildActions(java.lang.Class<T> action)
Actions from all the module builds that belong to this
IvyModuleSetBuild. One action per one IvyModule, and
newer ones take precedence over older ones.public void run()
run in interface hudson.model.Queue.Executablerun in interface java.lang.Runnablerun in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>public hudson.model.Fingerprint.RangeSet getDownstreamRelationship(hudson.model.AbstractProject that)
getDownstreamRelationship in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>public IvyModuleSet getParent()
getParent in interface hudson.model.Queue.ExecutablegetParent in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>