public class CascadeBuild extends hudson.model.Build<CascadeProject,CascadeBuild> implements PluginConstants
Manages cascade release logic and stores the result.
| Modifier and Type | Class and Description |
|---|---|
protected class |
CascadeBuild.CascadeExecution |
hudson.model.Build.BuildExecution, hudson.model.Build.RunnerImplhudson.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.Summary| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
ARTIFACTS, charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, ID_FORMATTER, LIST_CUTOFF, number, ORDER_BY_DATE, PERMISSIONS, project, result, state, timestamp, TREE_CUTOFF, UPDATE, XSTREAM, XSTREAM2CASCADE_PROJECT_ICON, CASCADE_PROJECT_NAME, CASCADE_PROJECT_PRONOUN, LAYOUT_ACTION_ICON, LAYOUT_ACTION_NAME, LAYOUT_ACTION_URL, LOGGER_PREFIX, MEMBER_ACTION_ICON, MEMBER_ACTION_NAME, MEMBER_ACTION_URL, MEMBER_GRAPH_NAME, MEMBER_VIEW_ICON, MEMBER_VIEW_NAME, MEMBER_VIEW_URL, PLUGIN_HELP, PLUGIN_ICON, PLUGIN_ID, PLUGIN_IMAGES, PLUGIN_IMAGES_16, PLUGIN_IMAGES_24, PLUGIN_IMAGES_32, PLUGIN_IMAGES_48, PLUGIN_NAME, PLUGIN_URL| Constructor and Description |
|---|
CascadeBuild(CascadeProject project)
New build form UI.
|
CascadeBuild(CascadeProject project,
File buildDir)
Old Build from job/build.xml file.
|
| Modifier and Type | Method and Description |
|---|---|
Set<CascadeResult> |
getResultSet()
Artifacts release in this cascade build.
|
void |
run() |
delete, doStop, doStop, due, getAggregatedTestResultAction, getBuildFingerprints, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getEnvironment, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getNextBuild, getPersistentActions, getPreviousBuild, getProject, getRootBuild, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, setBuiltOnStr, setWorkspace_this, addAction, checkPermission, compareTo, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getDynamic, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getIDFormatter, 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, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, reload, run, save, setDescription, setDisplayName, setResult, submit, toString, writeLogTo, writeWholeLogTodoContextMenu, getAction, getAction, getActions, getActionsgetSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendErrorprotected static final Logger log
public CascadeBuild(CascadeProject project) throws IOException
IOExceptionpublic CascadeBuild(CascadeProject project, File buildDir) throws IOException
IOExceptionpublic Set<CascadeResult> getResultSet()
public void run()
run in interface hudson.model.Queue.Executablerun in interface Runnablerun in class hudson.model.Build<CascadeProject,CascadeBuild>Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.