public class MatrixConfiguration extends hudson.model.Project<MatrixConfiguration,MatrixRun> implements hudson.model.SCMedItem, hudson.model.Queue.NonBlockingTask
MatrixProject.| Modifier and Type | Class and Description |
|---|---|
static class |
MatrixConfiguration.ParentBuildAction |
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfDownstreamBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress, hudson.model.AbstractProject.LabelValidatorjenkins.triggers.SCMTriggerItem.SCMTriggerItems| Modifier and Type | Field and Description |
|---|---|
static boolean |
useShortWorkspaceName
On Cygwin, path names cannot be longer than 256 chars.
|
ABORT, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, BUILD_NOW_TEXT, builds, disabled, transientActions, triggersHISTORY_ADAPTER, nextBuildNumber, properties, runIdMigrator| Constructor and Description |
|---|
MatrixConfiguration(MatrixProject parent,
Combination c) |
| Modifier and Type | Method and Description |
|---|---|
MatrixConfiguration |
asProject() |
int |
assignBuildNumber() |
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph) |
void |
delete() |
void |
doConfigure(org.kohsuke.stapler.StaplerResponse rsp) |
org.kohsuke.stapler.HttpResponse |
doDisable() |
hudson.model.Label |
getAssignedLabel() |
protected Class<MatrixRun> |
getBuildClass() |
jenkins.model.BuildDiscarder |
getBuildDiscarder() |
List<hudson.tasks.Builder> |
getBuilders() |
hudson.util.DescribableList<hudson.tasks.Builder,hudson.model.Descriptor<hudson.tasks.Builder>> |
getBuildersList() |
Map<hudson.model.Descriptor<hudson.tasks.BuildWrapper>,hudson.tasks.BuildWrapper> |
getBuildWrappers() |
hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> |
getBuildWrappersList() |
Combination |
getCombination()
Get the actual combination of the axes values for this
MatrixConfiguration |
String |
getDisplayName() |
hudson.EnvVars |
getEnvironment(hudson.model.Node node,
hudson.model.TaskListener listener) |
hudson.model.JDK |
getJDK() |
int |
getNextBuildNumber()
Build numbers are always synchronized with the parent.
|
MatrixProject |
getParent() |
String |
getPronoun() |
hudson.tasks.Publisher |
getPublisher(hudson.model.Descriptor<hudson.tasks.Publisher> descriptor) |
Map<hudson.model.Descriptor<hudson.tasks.Publisher>,hudson.tasks.Publisher> |
getPublishers() |
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishersList() |
int |
getQuietPeriod()
Since
MatrixConfiguration is always invoked from MatrixRun
once and just once, there's no point in having a quiet period. |
hudson.scm.SCM |
getScm() |
int |
getScmCheckoutRetryCount()
Inherit the value from the parent.
|
jenkins.scm.SCMCheckoutStrategy |
getScmCheckoutStrategy()
Inherit the value from the parent.
|
boolean |
isActiveConfiguration()
Returns true if this configuration is a configuration
currently in use today (as opposed to the ones that are
there only to keep the past record.)
|
boolean |
isConcurrentBuild() |
boolean |
isConfigurable() |
boolean |
isDisabled() |
void |
makeDisabled(boolean b) |
protected MatrixRun |
newBuild() |
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name) |
boolean |
scheduleBuild(List<? extends hudson.model.Action> actions,
hudson.model.Cause c)
Starts the build with the actions that are passed in.
|
boolean |
scheduleBuild(hudson.model.ParametersAction parameters)
Deprecated.
Use
scheduleBuild(ParametersAction, Cause). Since 1.283 |
boolean |
scheduleBuild(hudson.model.ParametersAction parameters,
hudson.model.Cause c)
Deprecated.
Use
scheduleBuild(List, Cause). Since 1.480 |
void |
setBuildDiscarder(jenkins.model.BuildDiscarder logRotator)
Deprecated.
Value is controlled by
MatrixProject. |
void |
setConcurrentBuild(boolean b) |
void |
setJDK(hudson.model.JDK jdk)
Deprecated.
Not supported.
|
boolean |
supportsMakeDisabled() |
protected void |
updateTransientActions() |
addPublisher, asItem, createTransientActions, getResourceActivities, getSCMs, getSCMTrigger, inferMavenInstallation, isFingerprintConfigured, removePublisher, scheduleBuild2, submit_getRuns, addProperty, addToList, addTrigger, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, createHistoryWidget, disable, doBuild, doBuild, doBuildWithParameters, doBuildWithParameters, doCancelQueue, doCheckRetryCount, doConfigSubmit, doDoWipeOutWorkspace, doEnable, doPolling, doRssChangelog, doWs, enable, findNearest, findNearest, getActions, getAssignedLabelString, getAuthToken, getBuild, getBuildByNumber, getBuildingDownstream, getBuildingUpstream, getBuildNowText, getBuildTriggerUpstreamProjects, getCauseOfBlockage, getCustomWorkspace, getDefaultAuthentication, getDefaultAuthentication, getDelay, getDownstreamProjects, getFirstBuild, getHasCustomQuietPeriod, getIconColor, getLastBuild, getLastBuiltOn, getLazyBuildMixIn, getModuleRoot, getModuleRoots, getNearestBuild, getNearestOldBuild, getOwnerTask, getProminentActions, getQueueItem, getRelationship, getRelevantLabels, getResourceList, getRootProject, getSameNodeConstraint, getSomeBuildWithWorkspace, getSomeWorkspace, getSubTasks, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getWhyBlocked, getWorkspace, getWorkspaceResource, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildable, isBuildBlocked, isInQueue, isParameterized, loadBuild, makeSearchIndex, onCreatedFromScratch, performDelete, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, save, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenDownstreamBuilding, setBlockBuildWhenUpstreamBuilding, setCustomWorkspace, setQuietPeriod, setScm, setScmCheckoutStrategy, triggersdoBuildStatus, doChildrenContextMenu, doDescription, doDoRename, doRssAll, doRssFailed, getACL, getAllJobs, getAllProperties, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusIconClassName, getBuildStatusUrl, getBuildTimeGraph, getCharacteristicEnvVars, getDynamic, getEstimatedDuration, getEstimatedDurationCandidates, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getLogRotator, getNewBuilds, getOverrides, getPermalinks, getProperties, getProperty, getProperty, getTimeline, getWidgets, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, isLogUpdated, isNameEditable, logRotate, movedTo, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, setLogRotator, supportsLogRotator, updateNextBuildNumbercheckPermission, delete, doConfigDotXml, doDoDelete, doReload, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getRelativeDisplayNameFrom, getRelativeNameFrom, getRelativeNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXmladdAction, doContextMenu, getAction, getAction, getActions, getAllActions, replaceActiongetSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitscheduleBuild, scheduleBuild, scheduleBuild, scheduleBuildgetAbsoluteUrl, getAllJobs, getFullDisplayName, getFullName, getName, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, savegetSearchIndex, getSearchName, getSearchUrlcheckPermission, getACL, hasPermissioncheckAbortPermission, getCauseOfBlockage, getDefaultAuthentication, getDefaultAuthentication, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlockedpublic static boolean useShortWorkspaceName
public MatrixConfiguration(MatrixProject parent, Combination c)
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
throws IOException
onLoad in interface hudson.model.ItemonLoad in class hudson.model.Project<MatrixConfiguration,MatrixRun>IOExceptionpublic hudson.EnvVars getEnvironment(hudson.model.Node node,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
getEnvironment in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionInterruptedExceptionpublic final boolean isDisabled()
isDisabled in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public final void makeDisabled(boolean b)
throws IOException
makeDisabled in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionpublic final boolean supportsMakeDisabled()
supportsMakeDisabled in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public final org.kohsuke.stapler.HttpResponse doDisable()
throws IOException,
javax.servlet.ServletException
doDisable in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionjavax.servlet.ServletExceptionprotected void updateTransientActions()
updateTransientActions in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public boolean isConcurrentBuild()
isConcurrentBuild in interface hudson.model.Queue.TaskisConcurrentBuild in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public void setConcurrentBuild(boolean b)
throws IOException
setConcurrentBuild in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionpublic void delete()
throws IOException,
InterruptedException
delete in interface hudson.model.Itemdelete in class hudson.model.Job<MatrixConfiguration,MatrixRun>IOExceptionInterruptedExceptionpublic int getNextBuildNumber()
Computing this is bit tricky. Several considerations:
getNextBuildNumber in interface jenkins.triggers.SCMTriggerItemgetNextBuildNumber in class hudson.model.Job<MatrixConfiguration,MatrixRun>public int assignBuildNumber()
throws IOException
assignBuildNumber in class hudson.model.Job<MatrixConfiguration,MatrixRun>IOExceptionpublic String getDisplayName()
getDisplayName in interface hudson.model.ItemgetDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitygetDisplayName in class hudson.model.AbstractItempublic MatrixProject getParent()
getParent in interface hudson.model.ItemgetParent in class hudson.model.AbstractItempublic Combination getCombination()
MatrixConfigurationpublic int getQuietPeriod()
MatrixConfiguration is always invoked from MatrixRun
once and just once, there's no point in having a quiet period.getQuietPeriod in interface jenkins.model.ParameterizedJobMixIn.ParameterizedJobgetQuietPeriod in interface jenkins.triggers.SCMTriggerItemgetQuietPeriod in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public int getScmCheckoutRetryCount()
getScmCheckoutRetryCount in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public jenkins.scm.SCMCheckoutStrategy getScmCheckoutStrategy()
getScmCheckoutStrategy in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public boolean isConfigurable()
isConfigurable in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>protected Class<MatrixRun> getBuildClass()
getBuildClass in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>protected MatrixRun newBuild() throws IOException
newBuild in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionprotected void buildDependencyGraph(hudson.model.DependencyGraph graph)
buildDependencyGraph in class hudson.model.Project<MatrixConfiguration,MatrixRun>public MatrixConfiguration asProject()
asProject in interface hudson.model.BuildableItemWithBuildWrappersasProject in interface hudson.model.SCMedItemasProject in class hudson.model.Project<MatrixConfiguration,MatrixRun>public hudson.model.Label getAssignedLabel()
getAssignedLabel in interface hudson.model.queue.SubTaskgetAssignedLabel in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public String getPronoun()
getPronoun in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public hudson.model.JDK getJDK()
getJDK in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public List<hudson.tasks.Builder> getBuilders()
getBuilders in class hudson.model.Project<MatrixConfiguration,MatrixRun>public Map<hudson.model.Descriptor<hudson.tasks.Publisher>,hudson.tasks.Publisher> getPublishers()
getPublishers in class hudson.model.Project<MatrixConfiguration,MatrixRun>public hudson.util.DescribableList<hudson.tasks.Builder,hudson.model.Descriptor<hudson.tasks.Builder>> getBuildersList()
getBuildersList in class hudson.model.Project<MatrixConfiguration,MatrixRun>public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishersList()
getPublishersList in class hudson.model.Project<MatrixConfiguration,MatrixRun>public Map<hudson.model.Descriptor<hudson.tasks.BuildWrapper>,hudson.tasks.BuildWrapper> getBuildWrappers()
getBuildWrappers in class hudson.model.Project<MatrixConfiguration,MatrixRun>public hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> getBuildWrappersList()
getBuildWrappersList in interface hudson.model.BuildableItemWithBuildWrappersgetBuildWrappersList in class hudson.model.Project<MatrixConfiguration,MatrixRun>public hudson.tasks.Publisher getPublisher(hudson.model.Descriptor<hudson.tasks.Publisher> descriptor)
getPublisher in class hudson.model.Project<MatrixConfiguration,MatrixRun>public jenkins.model.BuildDiscarder getBuildDiscarder()
getBuildDiscarder in class hudson.model.Job<MatrixConfiguration,MatrixRun>public hudson.scm.SCM getScm()
getScm in interface hudson.model.SCMedItemgetScm in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>public void setJDK(hudson.model.JDK jdk)
throws IOException
MatrixConfiguration because
it's controlled by MatrixProject.setJDK in class hudson.model.AbstractProject<MatrixConfiguration,MatrixRun>IOExceptionpublic void setBuildDiscarder(jenkins.model.BuildDiscarder logRotator)
MatrixProject.setBuildDiscarder in class hudson.model.Job<MatrixConfiguration,MatrixRun>public boolean isActiveConfiguration()
MatrixProject.getActiveConfigurations()public boolean scheduleBuild(hudson.model.ParametersAction parameters)
scheduleBuild(ParametersAction, Cause). Since 1.283public boolean scheduleBuild(hudson.model.ParametersAction parameters,
hudson.model.Cause c)
scheduleBuild(List, Cause). Since 1.480parameters - Can be null.public boolean scheduleBuild(List<? extends hudson.model.Action> actions, hudson.model.Cause c)
actions - Can be null.c - Reason for starting the build@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class)
public void doConfigure(org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOExceptionCopyright © 2004-2016. All Rights Reserved.