Package hudson.ivy
Class IvyBuild
java.lang.Object
- All Implemented Interfaces:
ExtensionPoint
,DescriptorByNameOwner
,ModelObject
,PersistenceRoot
,Queue.Executable
,Saveable
,SearchableModelObject
,SearchItem
,AccessControlled
,Comparable<IvyBuild>
,Runnable
,WithConsoleUrl
,HistoricalBuild
,LazyBuildMixIn.LazyLoadingRun<IvyModule,
,IvyBuild> ModelObjectWithContextMenu
,RunWithSCM<IvyModule,
,IvyBuild> OnMaster
,org.kohsuke.stapler.StaplerProxy
- Author:
- Timothy Bingaman
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.ivy.AbstractIvyBuild
AbstractIvyBuild.ParameterizedUpstreamCause
Nested classes/interfaces inherited from class hudson.model.AbstractBuild
AbstractBuild.AbstractBuildExecution, AbstractBuild.AbstractRunner, AbstractBuild.DependencyChange
Nested classes/interfaces inherited from class hudson.model.Run
Run.Artifact, Run.ArtifactList, Run.KeepLogBuildBadge, Run.RedirectUp, Run.RunExecution, Run.Runner, Run.RunnerAbortedException, Run.StatusSummarizer, Run.Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
Field Summary
FieldsFields inherited from class hudson.model.AbstractBuild
buildEnvironments
Fields inherited from class hudson.model.Run
ARTIFACTS, charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, LIST_CUTOFF, nextBuild, number, ORDER_BY_DATE, PERMISSIONS, previousBuild, project, QUEUE_ID_UNKNOWN, result, SKIP_PERMISSION_CHECK, timestamp, UPDATE, XSTREAM, XSTREAM2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChangeLogSet<? extends ChangeLogSet.Entry>
Gets the "governing"IvyModuleSet
that has set the workspace for this build.Gets theIvyModuleSetBuild
that has the same build number.getUpUrl()
boolean
We always get the changeset fromIvyModuleSetBuild
.void
registerAsProjectAction
(IvyReporter reporter) void
run()
protected void
setWorkspace
(FilePath path) Backdoor forIvyModuleSetBuild
to assign workspaces for modules.Methods inherited from class hudson.ivy.AbstractIvyBuild
scheduleDownstreamBuilds
Methods inherited from class hudson.model.AbstractBuild
addAction, calculateCulprits, createReference, doStop, doStop, dropLinks, due, getAggregatedTestResultAction, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSets, getCulpritIds, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getEnvironment, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getNextBuild, getParentExecutable, getPersistentActions, getPreviousBuild, getProject, getRootBuild, getRunMixIn, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getWhyKeepLog, getWorkspace, setBuiltOnStr, shouldCalculateCulprits
Methods inherited from class hudson.model.Run
_this, canToggleLogKeep, compareTo, delete, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doConsoleText, doDoDelete, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifactManager, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildFingerprints, getBuildsOverThreshold, getBuildStatusSummary, getCause, getCauses, getCharacteristicEnvVars, getCharset, getConsoleUrl, getDescription, getDuration, getDurationString, getDynamic, getDynamic, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNumber, getOneOffExecutor, getParameterValues, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getQueueId, getResult, getRootDir, getSearchUrl, getStartTimeInMillis, getTarget, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTransientActions, 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, writeReplace, writeWholeLogTo
Methods inherited from class hudson.model.Actionable
addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, removeAction, removeActions, replaceAction, replaceActions
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
Methods inherited from interface jenkins.model.HistoricalBuild
getBuildStatusIconClassName, getBuildStatusUrl, getTruncatedDescription
Methods inherited from interface hudson.model.Queue.Executable
getConsoleUrl, getEstimatedDuration, toString
Methods inherited from interface jenkins.scm.RunWithSCM
hasParticipant
-
Field Details
-
debug
public static boolean debugSet true to produce debug output.
-
-
Constructor Details
-
IvyBuild
- Throws:
IOException
-
IvyBuild
-
IvyBuild
- Throws:
IOException
-
-
Method Details
-
getUpUrl
- Overrides:
getUpUrl
in classAbstractBuild<IvyModule,
IvyBuild>
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classRun<IvyModule,
IvyBuild>
-
getParentBuild
Gets theIvyModuleSetBuild
that has the same build number.- Returns:
- null if no such build exists, which happens when the module build is manually triggered.
- See Also:
-
getModuleSetBuild
Gets the "governing"IvyModuleSet
that has set the workspace for this build.- Returns:
- null if no such build exists, which happens if the build is manually removed.
- See Also:
-
getChangeSet
- Overrides:
getChangeSet
in classAbstractBuild<IvyModule,
IvyBuild>
-
hasChangeSetComputed
public boolean hasChangeSetComputed()We always get the changeset fromIvyModuleSetBuild
.- Overrides:
hasChangeSetComputed
in classAbstractBuild<IvyModule,
IvyBuild>
-
registerAsProjectAction
-
run
public void run()- Specified by:
run
in interfaceQueue.Executable
- Specified by:
run
in interfaceRunnable
- Specified by:
run
in classAbstractBuild<IvyModule,
IvyBuild>
-
setWorkspace
Backdoor forIvyModuleSetBuild
to assign workspaces for modules.- Overrides:
setWorkspace
in classAbstractBuild<IvyModule,
IvyBuild>
-
getParent
- Specified by:
getParent
in interfaceQueue.Executable
- Overrides:
getParent
in classAbstractBuild<IvyModule,
IvyBuild>
-